View source: R/shape.R
Calculates the mean of a vector.
numeric Rle vector: Coverage series.
Other Shape functions:
# Hypothetical shard/broad clusters:
x_sharp <- Rle(c(1,1,1,4,5,2,1,1))
x_broad <- Rle(c(1,2,3,5,4,3,2,1))
# Calculate mean
# See calcShape for more usage examples
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.