filter_count: Filter on compound counts

View source: R/filter_count.R

filter_countR Documentation

Filter on compound counts

Description

This function allows you to filter compounds are rare in the entire dataset or within certain groups.

Usage

filter_count(chemtable, min_count = 2, group = FALSE)

Arguments

chemtable

the data frame of the data about the compounds

min_count

the minimum count value for inclusion

group

boolean, whether to set thresholds within each grouping level, or look across all floral samples

Examples

data(GCMSfloral)
chemtable <- filter_count(chemtable, min_count = 3, group = TRUE)

jmpowers/bouquet documentation built on Feb. 12, 2023, 12:11 a.m.