subset_com: Subsets Community Data

View source: R/subset_com.R

subset_comR Documentation

Subsets Community Data

Description

Subsets samples in a community data object.

Usage

subset_com(com, sel, var = NULL, val = NULL)

Arguments

com

a community data object.

sel

logical expression indicating elements or rows to keep.

var

if 'sel' is not provided, the name of column in 'env' to be used for selection.

val

if 'sel' is not provided, the name of the values in 'var' to keep.

Value

A list with community data.

Examples

subset_com()

jgmv/comecol documentation built on June 6, 2023, 4:07 p.m.