exceeds_min_cutoff | R Documentation |
Identify samples with values that exceed a minimum cutoff value.
exceeds_min_cutoff( metrics_table, metric, cutoff = NULL, include_equals = F, na_as_false = F, coef = 1.7, use_unskewed_iqr = F, use_skewed_iqr = F )
metrics_table |
Data frame or matrix with metrics as columns and samples as rows. |
metric |
Name of column with metric to use. |
cutoff |
Cutoff value. |
include_equals |
If |
na_as_false |
If |
coef |
Constant to multiply the interquartile range by in calculating a relative cutoff. The default value of 1.7 approximately equates to values at least 3 standard deviations from the mean for a gaussian distribution. |
use_unskewed_iqr |
If |
use_skewed_iqr |
If |
Indicates whether a sample exceeds a minimum cutoff value for a user-specified metric. Includes options to set the cutoff using values derived from interquartile range for both skewed and unskewed distributions.
A list containing the following elements:
keep
a logical vector indicating whether a given value for a metric meets the designated
cutoff criteria. The vector order matches the input row order of metrics_table
.
cutoff
The cutoff value used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.