| calcCoverage | R Documentation |
This function returns a coverage list for the genomic
regions in mask argument. Generally it should not
be used alone and is intended for internal use, although
it is useful for calculating stand-alone coverages.
calcCoverage(input, mask, strand = NULL,
ignore.strand = TRUE, rc = NULL)
input |
a |
mask |
a |
strand |
see the |
ignore.strand |
see the |
rc |
fraction (0-1) of cores to use in a multicore
system. It defaults to |
input contains the short reads in one of the
formats described in the arguments section. When
input is a list, this list should contain one
member per chromosome of the organism of interest.
mask contains the genomic regions over which
the coverage will be calculated from the input reads.
When calculating RNA-Seq profiles, mask must be
a named GRangesList where each member represents
the exons of the respective gene.
A list of Rle objects representing the
genomic coverages of interest.
Panagiotis Moulos
# Load some data
data("recoup_test_data",package="recoup")
# Calculate coverage Rle
mask <- makeGRangesFromDataFrame(df=test.genome,
keep.extra.columns=TRUE)
small.cov <- calcCoverage(test.input[[1]]$ranges,mask)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.