Description Usage Arguments Details Value Author(s) Examples
Function to calculate mappability of windows
1 2 3 4 5 6 |
x |
A |
window |
Bases around the locations that are in the window. Calculation will
consider |
For unstranded features, the effect is the same as for + strand features.
type |
What part of the interval to make the window around. If the value is
|
organism |
The |
verbose |
Whether to print the progess of processing. |
... |
The |
The windows considered will be windowSize/2
bases upstream and
windowSize/2-1
bases downstream of the given position of stranded features,
and the same number of bases towards the start and end of the chromosome for unstranded
features. The value returned for each region is a percentage of bases in that region that
are not N (any base in IUPAC nomenclature).
For any positions of a window that are off the end of a chromosome, they will be considered as being N.
A vector of mappability percentages, one for each region.
Aaron Statham
1 2 3 4 5 6 | ## Not run:
require(BSgenome.Hsapiens36bp.UCSC.hg18mappability)
TSSTable <- data.frame(chr = paste("chr", c(1,2), sep = ""), position = c(100000, 200000))
mappabilityCalc(TSSTable, Hsapiens36bp, window = 200, type = "TSS")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.