featureModuleLookup {celda} | R Documentation

## Obtain the gene module of a gene of interest

### Description

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

### Usage

    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

    data(celdaCGSim, celdaCGMod)
    featureModuleLookup(
        counts = celdaCGSim$counts,
        celdaMod = celdaCGMod, "Gene_1")

[Package celda version 1.2.4 Index]