filter_na_count: Minimum number of measured values filter

Description Usage Arguments Value Examples

View source: R/filter_na_count.R

Description

The number of measured values is counted for each feature, and any feature with less than a predefined minimum number of values in each group is removed. If there are several factors, then the threshold is applied so that the minimum number of samples is present for all combinations (interactions) of groups.

Usage

1
filter_na_count(threshold, factor_name, ...)

Arguments

threshold

(numeric) The minimum number of samples in each group/interaction.

factor_name

(character) The name of a sample-meta column to use.

...

Additional slots and values passed to struct_class.

Value

A filter_na_count object.

Examples

1
2
3
D = MTBLS79_DatasetExperiment()
M = filter_na_count(threshold=3,factor_name='class')
M = model_apply(M,D)

structToolbox documentation built on Nov. 8, 2020, 6:54 p.m.