Description Usage Arguments Value Author(s) Examples
Generic function to call, passes its arugments either to compute.score.rnb or
compute.score.GRanges.
| 1 2 3 4 5 6 7 | compute.score(
  bam.file,
  ...,
  score = "qfdrp",
  use.sex.chromosomes = FALSE,
  ignore.strand = TRUE
)
 | 
| bam.file | path to bam file containing the reads | 
| ... | additional arugment. Either RnBSet, GRanges or empty (only for Epipolymorphism and Entropy) | 
| 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 | 
| ignore.strand | The  | 
data frame containing the annotation and the computed WSH scores
Michael Scherer
| 1 2 3 4 5 | load(system.file(file.path("extData","example_GRanges.RData"),package="WSH"))
example.rnb.set <- system.file(file.path("extData","small_rnbSet.zip"),package="WSH")
example.bam <- system.file(file.path("extData","small_example.bam"),package="WSH")
fdrp <- compute.score(bam.file=example.bam,example.GRanges,score="fdrp")
qfdrp <- compute.score(bam.file=example.bam,example.rnb.set,score="qfdrp")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.