View source: R/heatmap-utils.R
prev | R Documentation |
Useful as helper for taxon prevalence calculation
prev(x, undetected = 0)
x |
numeric vector (of taxon counts or proportions) |
undetected |
value above which a taxon is considered present or detected |
numeric value
prev(c(0, 0, 1, 2, 4))
prev(c(0, 0, 1, 2, 4), undetected = 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.