RLRanges-class | R Documentation |
RLRanges
is a subclass of GRanges
, which stores R-loop peaks
and metadata about the R-loop-mapping experiment, along with results from
the analyses in RLSeq.
RLRanges( peaks = GenomicRanges::GRanges(), coverage = character(1), genome = character(1), mode = character(1), label = character(1), sampleName = "User-selected sample", qcol = NULL )
peaks |
Path/URL to peak file or a GRanges object. This file should be
in "broadPeak" format if possible. If not, then |
coverage |
Path/URL to the coresponding coverage file (in "bigWig" format). If not supplied, correlation tests will be skipped. |
genome |
UCSC genome ID. Acceptable types are listed in
auxdata ( |
mode |
Type of R-loop mapping from which peaks and coverage were
derived. Acceptable types are listed in
auxdata ( |
label |
"POS" (positive R-loop-mapping sample; e.g., DRIP-Seq S9.6 -RNH1) or "NEG" (negative control sample; e.g., DRIP-Seq S9.6 +RNH1 or Input). Can be unspecified. |
sampleName |
A unique name for identifying this sample. Can be unspecified. |
qcol |
The name of the metadata column which contains the score or
significance of each peak. For broadPeak (preferred), this is the
qvalue (column 11 after accounting for extra columns created during
peakset building).
If not specified, the last column will be chosen by default. NOTE:
if supplying narrowPeak form peaks, the last column will NOT be appropriate
and QCol should be specified as |
An object of class RLRanges
. These objects are an extension of
GRanges
with the addition of sample metadata entries and RLResults.
# Example dataset rlbase <- "https://rlbase-data.s3.amazonaws.com" cvg <- file.path(rlbase, "coverage", "SRX7671349_hg38.bw") pks <- system.file("extdata", "SRX7671349_hg38.broadPeak", package = "RLSeq") # Get RLRanges object rlr <- RLRanges(pks, coverage = cvg, genome = "hg38", label = "NEG", mode = "RDIP", sampleName = "RDIP-Seq +RNH1", qcol = 9 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.