pairs_filter {structToolbox} | R Documentation

## Pairs filter

### Description

Filters samples for paired analysis, ensuring each sample id is present in all groups.

### Usage

    pairs_filter(factor_name, sample_id, ...)

### Arguments

`factor_name` | (character) the column name of sample_meta containing the labels
`sample_id` | (character) the column name of sample_meta containing the sample ids
`...` | additional slots and values passed to struct_class

### Value

A STRUCT method object with functions for applying a pairs filter

struct object

### Examples

    M=pairs_filter(factor_name='Class',sample_id='ids')

[Package structToolbox version 0.99.8 Index]