This function will output the corresponding feature module for a specified list of genes from a celda model.

featureModuleLookup(counts, celda.mod, feature, exact.match = TRUE)

Arguments

counts

Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate `celda.mod`.

celda.mod

Model of class "celda_G" or "celda_CG".

feature

Character vector. Identify feature modules for the specified feature names.

exact.match

Logical. Whether to look for exact match of the gene name within counts matrix. Default TRUE.