Convert objects to a ChromatinAssay
as.ChromatinAssay(x, ...)
# S3 method for Assay
as.ChromatinAssay(
x,
ranges = NULL,
seqinfo = NULL,
annotation = NULL,
motifs = NULL,
fragments = NULL,
bias = NULL,
positionEnrichment = NULL,
sep = c("-", "-"),
...
)
An object to convert to class ChromatinAssay
Arguments passed to other methods
A GRanges object
A Seqinfo
object containing basic
information about the genome used. Alternatively, the name of a UCSC genome
can be provided and the sequence information will be downloaded from UCSC.
Genomic annotation
A Motif
object
A list of Fragment
objects
Tn5 integration bias matrix
A named list of position enrichment matrices.
Characters used to separate the chromosome, start, and end coordinates in the row names of the data matrix