Description Usage Arguments Value Examples
Calculate CLR variances of each feature
1 | clr_variance(matrix, sorted = F)
|
matrix |
matrix containing CLR values |
sorted |
logical vector: should variance values be returned in decreasing order |
named vector
1 2 3 4 5 | milk_clr <- t(apply(mammalsmilk, 1, function(x){log(x) - mean(log(x))}))
clr_variance(milk_clr)
# Show 5 genes with highest CLR variance across dataset
clr_variance(sewage_clr, sorted = TRUE)[1:5]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.