Description Usage Arguments Value Author(s) Examples
Main function to compute WSH scores based on a input GRanges object and a bam file containing the reads.
1 2 3 4 5 6 7 | compute.score.GRanges(
bam.file,
range,
score = "qfdrp",
use.sex.chromosomes = FALSE,
...
)
|
bam.file |
path to bam file containing the reads |
range |
GRanges object containing the annotation |
score |
The WSH score which should be computed, needs to be one of |
use.sex.chromosomes |
Flag indicating if scores are also to be computed for the sex chromosomes |
... |
Further parameters passed to |
data frame containing the annotation and the computed WSH scores
Michael Scherer
1 2 3 | load(system.file(file.path("extData","example_GRanges.RData"),package="WSH"))
example.bam <- system.file(file.path("extData","small_example.bam"),package="WSH")
fdrp <- compute.score.GRanges(bam.file=example.bam,range=example.GRanges)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.