mv_sample_filter {structToolbox} | R Documentation

## Missing value sample filter

### Description

Filters samples by removing those where the percent number of missing values exceeds a predefined threshold.

### Usage

    mv_sample_filter(mv_threshold = 20, ...)

### Arguments

`mv_threshold` | (numeric) The theshold for excluding samples. The default is `20`.
`...` | Additional slots and values passed to `struct_class`.

### Details

This object makes use of functionality from the following packages:

- `pmp`

### Value

A `mv_sample_filter` object with the following `output` slots:

`filtered` | (DatasetExperiment) A DatasetExperiment object containing the filtered data.
`flags` | (data.frame) A flag indicating whether the sample was rejected. 0 = rejected.
`percent_missing` | (data.frame)

### References

Jankevics A, Lloyd GR, Weber RJM (2021). pmp: Peak Matrix Processing and signal batch correction for metabolomics datasets. R package version 1.5.0.

### Examples

    C = mv_sample_filter()

[Package structToolbox version 1.6.1 Index]