celdaClusters {celda} | R Documentation |
Return or set the cell cluster labels determined by celda_C or celda_CG models.
celdaClusters(x, altExpName = "featureSubset") ## S4 method for signature 'SingleCellExperiment' celdaClusters(x, altExpName = "featureSubset") ## S4 method for signature 'celdaModel' celdaClusters(x) celdaClusters(x, altExpName = "featureSubset") <- value ## S4 replacement method for signature 'SingleCellExperiment' celdaClusters(x, altExpName = "featureSubset") <- value
x |
Can be one of
|
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
value |
Character vector of cell cluster labels for replacements. Works
only if |
One of
Character vector if x
is a
SingleCellExperiment object.
Contains cell cluster labels for each cell in x.
List if x
is a celda model object. Contains cell cluster
labels (for celda_C and celdaCG
Models) and/or feature module labels (for celda_G and celdaCG Models).
data(sceCeldaCG) celdaClusters(sceCeldaCG) data(celdaCGMod) celdaClusters(celdaCGMod)