Description Usage Arguments Value Author(s) Examples
This function fills the profile
field in the
main input
argument in recoup
function by calculating profile matrices from coverages
which will be used for plotting.
1 | profileMatrix(input, flank, binParams, rc = NULL)
|
input |
an input list as in |
flank |
see the |
binParams |
see the |
rc |
fraction (0-1) of cores to use in a multicore
system. It defaults to |
Same as input with the profile
fields filled.
Panagiotis Moulos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Load some data
data("recoup_test_data",package="recoup")
# Do some work
testGenomeRanges <- makeGRangesFromDataFrame(df=test.genome,
keep.extra.columns=TRUE)
w <- width(testGenomeRanges)
testGenomeRanges <- promoters(testGenomeRanges,upstream=2000,downstream=0)
testGenomeRanges <- resize(testGenomeRanges,width=w+4000)
test.input <- coverageRef(
test.input,
mainRanges=testGenomeRanges
)
test.input <- profileMatrix(
test.input,
flank=c(2000,2000),
binParams=list(flankBinSize=50,regionBinSize=150,
sumStat="mean",interpolation="auto"),
rc=0.1
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.