Miscellaneous SCE {SingleCellExperiment} | R Documentation |
Various methods for the SingleCellExperiment class.
## S4 method for signature 'SingleCellExperiment' show(object) ## S4 method for signature 'SingleCellExperiment' objectVersion(x)
x, object |
A SingleCellExperiment object. |
The show
method will print out information about the data contained in object
.
This describes the stored assays and row/column metadata, as done in show,SummarizedExperiment-method
.
The names of the reducedDims
slot and the names of the spike-ins (see spikeNames
) are also reported.
The objectVersion
method will return the version of the package with which x
was constructed.
This is useful for checking if the object is up to date relative to the latest versions of the package.
For show
, a message is printed to screen describing the data stored in object
.
For objectVersion
, an object of class package_version
is returned.
example(SingleCellExperiment, echo=FALSE) # Using the class example show(sce) objectVersion(sce)