Description Usage Arguments Details Value
For DNA methylation, particularly summarized across regions, we can do better (a lot better) than MAD. Since we know that
1 | byExtremality(x, r = NULL, k = 500)
|
x |
a bsseq object |
r |
regions to consider (default is NULL, all loci... !) |
k |
how many rows/regions to return (500) |
max(SD(X_j)) if X_j ~ Beta(a, b) < max(SD(X_j)) if X_j ~ Bernoulli(a/(a+b))
for X having a known mean and SD, hence solvable for a + b by MoM, define
extremality = sd(X_j) / bernoulliSD(mean(X_j))
This function finds the k most extremal features in x & returns their values. For count-based proportions,
a matrix-like object with methylation values, by extremality
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.