Description Usage Arguments Value Examples
Flags features with too high amount of missing values. There are two detection rate limits, both defined as the minimum proportion of samples that need to
have a value (not NA) for the feature to be kept. qc_limit
is the detection rate limit for QC samples, group_limit
is the detection rate limit
for the actual study groups. If the group limit is passed for AT LEAST ONE GROUP, then the feature is kept. Features with low detection rate in QCs are
flagged as "Low_qc_detection", while low detection rate in the study groups is flagged as "Low_group_detection". The detection rates for all the groups are
recorded in results(object)
1 2 | flag_detection(object, qc_limit = 0.7, group_limit = 0.8,
group = group_col(object))
|
object |
a MetaboSet object |
qc_limit |
the detection rate limit for QC samples |
group_limit |
the detection rate limit for study groups |
group |
the columns name in sample information to use as the grouping variable |
a MetaboSet object with the features flagged
1 2 | ex_set <- flag_detection(merged_sample)
results(ex_set)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.