Description Usage Arguments Value
Count number of groups with measurements below percentile per sample
1 | count_below_percentile(mat, by, f, percentile, ...)
|
mat |
Matrix with samples as columns and metabolites as rows |
by |
Factor of length |
f |
Function to "condense" the measurements of a sample for a
given group of rows to a single number
( |
percentile |
A number between 0 and 100. |
... |
Passed on to |
A integer vector with colnames(mat)
as names
containing the number of categories, that is the levels of
by
, for which a sample has measurements (as "condensed"
by f
) below percentile
. The percentiles are
computed separately for every metabolite over the "condensed"
metabolite measurements of all samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.