Counts the Tn5 insertion frequency for each DNA hexamer.
InsertionBias(object, ...)
# S3 method for ChromatinAssay
InsertionBias(object, genome, region = "chr1-1-249250621", verbose = TRUE, ...)
# S3 method for Seurat
InsertionBias(
object,
genome,
assay = NULL,
region = "chr1-1-249250621",
verbose = TRUE,
...
)
A Seurat or ChromatinAssay object
Additional arguments passed to StringToGRanges
A BSgenome
object or any other object supported by
getSeq
. Do showMethods("getSeq")
to get the list of all
supported object types.
Genomic region to use when assessing bias.
Display messages
Name of assay to use
Returns a Seurat object