featureModuleLookup: Obtain the gene module of a gene of interest

Description Usage Arguments Value Examples

View source: R/s3_generics.R

Description

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

Usage

1
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.

Value

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

Examples

1
2
featureModuleLookup(counts = celda.CG.sim$counts, 
                    celda.mod = celda.CG.mod, "Gene_1")

compbiomed/celda documentation built on May 25, 2019, 3:58 a.m.