Convert objects to a GRangesAssay object
Usage
as.GRangesAssay(x, ...)
# S3 method for class 'ChromatinAssay'
as.GRangesAssay(x, ...)
# S3 method for class 'Assay5'
as.GRangesAssay(
x,
annotation = NULL,
fragments = NULL,
bias = NULL,
region.aggregation = NULL,
ranges = NULL,
motifs = NULL,
links = NULL,
...
)
# S3 method for class 'ChromatinAssay5'
as.GRangesAssay(x, ranges = NULL, ...)Arguments
- x
An object to convert to class GRangesAssay
- ...
Arguments passed to other methods
- annotation
A set of
GenomicRanges::GRanges()containing gene annotations for the genome used. It must have the following columns:tx_idortranscript_id: Transcript IDgene_name: Gene namegene_id: Gene IDgene_biotype: Gene biotype (e.g. "protein_coding", "lincRNA")type: Annotation type (e.g. "exon", "gap")
- fragments
Path to a tabix-indexed fragments file for the data contained in the input matrix.
- bias
A Tn5 integration bias matrix vector
- region.aggregation
A named list of
RegionAggregation-classobjects.- ranges
A GRanges object
- motifs
A
Motif-classobject- links
A named list of
InteractionSet::GInteractions()objects