as.ChromatinAssay function

Convert objects to a ChromatinAssay

Convert objects to a ChromatinAssay

as.ChromatinAssay(x, ...) ## S3 method for class 'Assay' as.ChromatinAssay( x, ranges = NULL, seqinfo = NULL, annotation = NULL, motifs = NULL, fragments = NULL, bias = NULL, positionEnrichment = NULL, sep = c("-", "-"), ... )

Arguments

  • x: An object to convert to class ChromatinAssay
  • ...: Arguments passed to other methods
  • ranges: A GRanges object
  • seqinfo: 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.
  • annotation: Genomic annotation
  • motifs: A Motif object
  • fragments: A list of Fragment objects
  • bias: Tn5 integration bias matrix
  • positionEnrichment: A named list of position enrichment matrices.
  • sep: Characters used to separate the chromosome, start, and end coordinates in the row names of the data matrix