Count the number of sequenced DNA fragments in a region surrounding each instance of a given DNA sequence motif.
MotifCounts(
object,
motifs,
flanking.region = 1000,
assay = NULL,
verbose = TRUE,
...
)
Returns a list of sparse matrices
A Seurat object
A list of DNA sequence motif names. One matrix will be generated for each motif
Amount of sequence to include surrounding the motif itself
Name of assay to use. Must be a ChromatinAssay
Display messages
Additional arguments passed to FeatureMatrix