View source: R/get.single.base.score.bw.R
get.single.base.score.bw | R Documentation |
Function to get the score from a bigWig for each base in a given genomic region.
get.single.base.score.bw(
region,
bigWig,
missing.data.as.zero = TRUE,
reverse.score = FALSE
)
region |
An atomic string indicating the genomic region into which restrict the final plot in the format 'chr1:1234-5678'. |
bigWig |
Full path to a bigWig file. |
missing.data.as.zero |
A logical value to define whether missing data (NAs) should be treated as zeros. By default |
reverse.score |
A logical value to indicate whether the score order should be inverted. Default |
The output is a numeric vector containing the score for each base at a given position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.