as.ChromatinAssay: Convert objects to a ChromatinAssay

View source: R/generics.R

as.ChromatinAssayR Documentation

Convert objects to a ChromatinAssay

Description

Convert objects to a ChromatinAssay

Usage

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

Value

ChromatinAssay

Examples

print("see https://satijalab.org/signac/reference/as.chromatinassay")

Honchkrow/SignacSlim documentation built on April 9, 2022, 1:49 a.m.