bb_gene_modules: A function to generate gene modules and add them to the Gene...

View source: R/bb_gene_modules.R

bb_gene_modulesR Documentation

A function to generate gene modules and add them to the Gene Metadata

Description

Based on Monocle3's gene module functions. Implemented with default values. Will convert a Seurat object to a cell data set using SeuratWrappers and then calculate modules. The function returns an object of the same type.

Usage

bb_gene_modules(obj, n_cores = 8, cds = NULL)

Arguments

obj

A single cell object of type Seurat or cell_data_set.

n_cores

Number of processor cores to use for the analysis, Default: 8

cds

Provided for backward compatibility. If a value is supplied, it will return a warning and transfer to the obj argument., Default: NULL

Details

see https://cole-trapnell-lab.github.io/monocle3/docs/differential/#gene-modules

Value

An object of the same type: Seurat or cell_data_set

See Also

graph_test, find_gene_modules rename, mutate-joins, mutate, select fct_shift


blaserlab/blaseRtools documentation built on April 14, 2025, 6:04 p.m.