appendZeroes | R Documentation |
For every position in width max.pos - min.pos + 1, append 0 values in data.table. Needed when coveragePerTiling was run on coverage window with drop.zero.dt as TRUE and you need to plot 0 positions after a transformation by coverageScorings.
appendZeroes(dt, max.pos, min.pos = 1L, fractions = unique(dt$fraction))
dt |
a data.table from coverageByTiling that is normalized by coverageScorings. |
max.pos |
integer, max position of dt |
min.pos |
integer, default 1L. Minimum position of dt |
fractions |
default unique(dt$fraction), will repeat each fraction max.pos - min.pos + 1 times. |
a data.table with appended 0 values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.