filter_smeta: Filter by sample meta data

Description Usage Arguments Value Examples

View source: R/filter_smeta_class.R

Description

The data is filtered by so that the named levels of a factor are included/excluded from the dataset.

Usage

1
filter_smeta(mode = "include", levels, factor_name, ...)

Arguments

mode

(character) Mode of action. Allowed values are limited to the following:

  • "include": Samples in the specified levels are retained.

  • "exclude": Samples in the specified levels are excluded.

The default is "include".

levels

(character) The level name(s) for filtering.

factor_name

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

...

Additional slots and values passed to struct_class.

Value

A filter_smeta object.

Examples

1
2
3
D = MTBLS79_DatasetExperiment()
M = filter_smeta(mode='exclude',levels='QC',factor_name='QC')
M = model_apply(M,D)

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