Description Usage Arguments Value Examples
Convert a old celda model object (celda_C
,
celda_G
, or celda_CG
object) to a
SingleCellExperiment object containing celda model
information in metadata
slot. Counts matrix is stored in the
"counts"
assay slot in assays
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | celdatosce(celdaModel, counts, ...)
## S4 method for signature 'celda_C'
celdatosce(
celdaModel,
counts,
useAssay = "counts",
altExpName = "featureSubset"
)
## S4 method for signature 'celda_G'
celdatosce(
celdaModel,
counts,
useAssay = "counts",
altExpName = "featureSubset"
)
## S4 method for signature 'celda_CG'
celdatosce(
celdaModel,
counts,
useAssay = "counts",
altExpName = "featureSubset"
)
## S4 method for signature 'celdaList'
celdatosce(
celdaModel,
counts,
useAssay = "counts",
altExpName = "featureSubset"
)
|
celdaModel |
A |
counts |
A numeric matrix of counts used to generate
|
... |
Ignored. Placeholder to prevent check warning. |
useAssay |
A string specifying the name of the assay slot to use. Default "counts". |
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
A SingleCellExperiment object. Function
parameter settings are stored in the metadata
"celda_parameters"
slot.
Columns celda_sample_label
and celda_cell_cluster
in
colData contain sample labels and celda cell
population clusters. Column celda_feature_module
in
rowData contain feature modules.
1 2 3 4 5 6 7 8 | data(celdaCMod, celdaCSim)
sce <- celdatosce(celdaCMod, celdaCSim$counts)
data(celdaGMod, celdaGSim)
sce <- celdatosce(celdaGMod, celdaGSim$counts)
data(celdaCGMod, celdaCGSim)
sce <- celdatosce(celdaCGMod, celdaCGSim$counts)
data(celdaCGGridSearchRes, celdaCGSim)
sce <- celdatosce(celdaCGGridSearchRes, celdaCGSim$counts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.