Instance-aware slot access and replacement for all the DEprot S4 classes. These methods allow the slots of a DEprot object to be accessed and modified with the $ operator (in addition to the standard @ operator), enabling slot-name auto-completion in interactive sessions.

Arguments

x

An object of one of the DEprot classes: DEprot, DEprot.analyses, DEprot.PCA, DEprot.PCoA, DEprot.correlation, DEprot.counts.heatmap, DEprot.contrast.heatmap, DEprot.upset, DEprot.normality, DEprot.pvalues, DEprot.enrichResult, DEprot.RMSE, DEprot.SAINTq.

name

Name of the slot to access or replace.

value

The value to assign to the slot (only for $<-).

Value

For $, the content of the corresponding slot. For $<-, the object with the updated slot.

Author

Sebastian Gregoricchio