Extract footprint data for a set of transcription factors or metafeatures. This function will pull accessibility data for a given feature (eg, a TF), and perform background normalization for each identity class. This is the data that's used to create TF footprinting plots with the PlotFootprint function.

GetFootprintData(
  object,
  features,
  assay = NULL,
  group.by = NULL,
  idents = NULL
)

Arguments

object

A Seurat object

features

A vector of features to extract data for

assay

Name of assay to use

group.by

A grouping variable

idents

Set of identities to group cells by

Value

Returns a matrix