Display the object, by printing, plotting or whatever suits its class. This function exists to be specialized by methods. The default method calls showDefault.

Formal methods for show will usually be invoked for automatic printing (see the details).

# S4 method for DESeqAnalysis
show(object)

Arguments

object

Any R object

Value

show returns an invisible NULL.

Details

Objects from an S4 class (a class defined by a call to setClass) will be displayed automatically is if by a call to show. S4 objects that occur as attributes of S3 objects will also be displayed in this form; conversely, S3 objects encountered as slots in S4 objects will be printed using the S3 convention, as if by a call to print.

Methods defined for show will only be inherited by simple inheritance, since otherwise the method would not receive the complete, original object, with misleading results. See the simpleInheritanceOnly argument to setGeneric and the discussion in setIs for the general concept.

See also

showMethods prints all the methods for one or more functions.

Examples

data(deseq) ## DESeqAnalysis ==== show(deseq)
#> DESeqAnalysis 0.1.8; DESeq2 1.22.2 #> data: #> dim: 500 12 #> metadata(3): version date interestingGroups #> assays(4): counts mu H cooks #> rownames(500): gene001 gene002 ... gene499 gene500 #> rowData names(27): geneID geneName ... deviance maxCooks #> colnames(12): sample01 sample02 ... sample11 sample12 #> colData names(2): condition sizeFactor #> transformType: varianceStabilizingTransformation #> resultsNames: condition_B_vs_A #> alpha: 0.1 #> lfcThreshold: 0 #> lfcShrinkType: apeglm