| coverageRnaRef {recoup} | R Documentation |
This function fills the coverage field in the
main input argument in recoup
function.
coverageRnaRef(
input,
mainRanges,
strandedParams = list(strand=NULL, ignoreStrand=TRUE),
rc = NULL
)
input |
an input list as in |
mainRanges |
a named |
strandedParams |
see the |
rc |
fraction (0-1) of cores to use in a multicore
system. It defaults to |
Same as input with the ranges fields filled.
Panagiotis Moulos
# Load some data
data("recoup_test_data",package="recoup")
# Note: the figures that will be produced will not look
# realistic or pretty and will be "bumpy". This is because
# package size limitations posed by Bioconductor guidelines
# do not allow for a full test dataset. As a result, the input
# below is not an RNA-Seq dataset. Have a look at the
# vignette on how to test with more realistic data.
# Calculate coverages
testGenomeRanges <- makeGRangesFromDataFrame(df=test.genome,
keep.extra.columns=TRUE)
test.input <- coverageRnaRef(
test.input,
mainRanges=test.exons
)