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
)
Returns a matrix
A Seurat object
A vector of features to extract data for
Name of assay to use
A grouping variable
Set of identities to group cells by