Description Usage Arguments Details Value See Also Examples
View source: R/rd.mapcorrect.R
takes a readDepth object containing read counts and updates the rd counts, account for repetitive and unmappable genomic regions. Also adds a "map" column containing that bin's percentage mapability
1 | rd.mapCorrect(rdo, minMapability=0.25)
|
rdo |
a readDepth object created with new("rdObject") and filled with read counts using the readDepth() command |
minMapability |
the minimum amount of mapability required. If the mapability of a region is below this level, the read depth is set to NA. |
Assumes that files containing unmappable regions are in place (see readDepth documentation for proper directory structure).
returns a readDepth object with the read depth values altered to remove bias due to mappability
'readDepth'
1 2 3 4 5 6 7 8 | ##create a rdObject, set bin params
# x <- new("rdObject")
##fill the bins with reads
# x.reads <- readDepth(x)
##do mapping correction on the read counts
# x.mapCorr = rd.mapCorrect(x.reads)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.