This function will output the gene module of a specific gene(s) from a celda model

# S3 method for celda_C
featureModuleLookup(counts, celda.mod, feature, exact.match)

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.

Value

List. Each entry corresponds to the feature module determined for the provided features