filter_smeta {structToolbox} | R Documentation

## filter_smeta class

### Description

A filter to subset a DatasetExperiment object based on sample meta data.

### Usage

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

### Arguments

`mode` | = ['include'] or 'exclude' to include or exclude samples based on the provided labels
`levels` | a list of level names to include/exclude
`factor_name` | the sample_meta column name to use
`...` | additional slots and values passed to struct_class

### Value

struct object

### Examples

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

[Package structToolbox version 0.99.8 Index]