pairs_filter {structToolbox} | R Documentation

## Pairs filter

### Description

This filter is used for study designs with paired sampling to ensure that measurements from the same source (e.g. patient) are represented in all factor levels and interactions.

### Usage

    pairs_filter(factor_name, sample_id, ...)

### Arguments

`factor_name` | (character) The name of a sample-meta column to use.
`sample_id` | (character) Name of sample meta column containing sample identifiers.
`...` | Additional slots and values passed to `struct_class`.

### Value

A `pairs_filter` object.

struct object

### Examples

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

[Package structToolbox version 1.2.0 Index]