featureModuleLookup: Obtain the gene module of a gene of interest

Description Usage Arguments Value Examples

Description

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

Usage

1
featureModuleLookup(counts, celdaMod, feature, exactMatch = TRUE)

Arguments

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.

Value

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

Examples

1
2
3
4
5
data(celdaCGSim, celdaCGMod)
featureModuleLookup(
  counts = celdaCGSim$counts,
  celdaMod = celdaCGMod, "Gene_1"
)

celda documentation built on June 9, 2020, 2 a.m.