featureModuleLookup {celda} | R Documentation |
This function will output the corresponding feature module for
a specified vector of genes from a celda_CG or celda_G celdaModel
.
feature
must match the rownames of sce
.
featureModuleLookup( sce, feature, altExpName = "featureSubset", exactMatch = TRUE ) ## S4 method for signature 'SingleCellExperiment' featureModuleLookup( sce, feature, altExpName = "featureSubset", exactMatch = TRUE )
sce |
A SingleCellExperiment object returned by
celda_G, or celda_CG, with the matrix
located in the |
feature |
Character vector. Identify feature modules for the specified
feature names. |
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
exactMatch |
Logical. Whether to look for exactMatch of the gene name
within counts matrix. Default |
List. Each entry corresponds to the feature module determined for the provided features.
data(sceCeldaCG) module <- featureModuleLookup(sce = sceCeldaCG, feature = c("Gene_1", "Gene_XXX"))