featureModuleLookup {celda} | R Documentation |
This function will output the corresponding feature module for a specified list of genes from a celdaModel.
featureModuleLookup(counts, celdaMod, feature, exactMatch = TRUE)
counts |
Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate 'celdaMod'. |
celdaMod |
Model of class "celda_G" or "celda_CG". |
feature |
Character vector. Identify feature modules for the specified feature names. |
exactMatch |
Logical. Whether to look for exactMatch of the gene name within counts matrix. Default TRUE. |
List. Each entry corresponds to the feature module determined for the provided features
data(celdaCGSim, celdaCGMod) featureModuleLookup( counts = celdaCGSim$counts, celdaMod = celdaCGMod, "Gene_1")