R/AllGenerics.R
, R/SingleCellAssay-methods.R
cData.Rd
These functions are now all deprecated and will be removed in a future release.
cData(sc) cData(sc) <- value # S4 method for SingleCellAssay cData(sc) # S4 method for SingleCellAssay cData(sc) <- value # S4 method for SingleCellAssay,SingleCellAssay combine(x, y, ...) # S4 method for SingleCellAssay,ANY combine(x, y, ...)
sc | An object with |
---|---|
value | replacement value |
x |
|
y |
|
... |
|
DataFrame
or modifies the SingleCellAssay
object in place
cData(sc)
: Return the cellData
data.frame
.
cData(sc)<-value
: Replace the cellData with value
, which can be either an AnnotatedDataFrame
or data.frame
. The replacement is checked that it has mandatory fields defined by its class.
combine(x, y, ...)
: Concatenate two experiments along rows/columns
You should transition to use the following replacements:
cData
colData
fData
mcols
exprs
assay
combine
cbind2 or rbind2
exprs
data(vbetaFA) stopifnot(all.equal(hushWarning(cData(vbetaFA), 'deprecated'),colData(vbetaFA))) stopifnot(all.equal(hushWarning(fData(vbetaFA), 'deprecated'), mcols(vbetaFA))) stopifnot(all.equal(hushWarning(exprs(vbetaFA), 'deprecated'), t(assay(vbetaFA))))