filterOTU: Filter OTUs

View source: R/midiv_wrangling.R

filterOTUR Documentation

Filter OTUs

Description

Filtering OTUs in a midiv object.

Usage

filterOTU(midiv.obj, OTU_to_keep)

Arguments

midiv.obj

A midiv object (list), see midivObject.

OTU_to_keep

A logical vector indicating which OTUs to keep (TRUE).

Details

This function filters OTUs, i.e. keep a subsets of rows in the readcount.mat and sequence.tbl inside the midiv.obj list.

The OTU_to_keep should be a logical vector with one element for each OTU in the object.

Value

A midiv object (list) with (potentially) fewer OTUs.

Author(s)

Lars Snipen.


larssnip/midiv documentation built on Jan. 20, 2025, 6:22 p.m.