AddChromatinModule: Add chromatin module

View source: R/utilities.R

AddChromatinModuleR Documentation

Add chromatin module

Description

Compute chromVAR deviations for groups of peaks. The goal of this function is similar to that of AddModuleScore except that it is designed for single-cell chromatin data. The chromVAR deviations for each group of peaks will be added to the object metadata.

Usage

AddChromatinModule(object, features, genome, assay = NULL, verbose = TRUE, ...)

Arguments

object

A Seurat object

features

A named list of features to include in each module. The name of each element in the list will be used to name the modules computed, which will be stored in the object metadata.

genome

A BSgenome object

assay

Name of assay to use. If NULL, use the default assay.

verbose

Display messages

...

Additional arguments passed to RunChromVAR

Value

Returns a Seurat object


timoast/signac documentation built on Aug. 23, 2024, 1:48 a.m.