peak.remove: Removes samples with peaks equal to or less than a specified...

View source: R/peakRemove.R

peak.removeR Documentation

Removes samples with peaks equal to or less than a specified threshold value.

Description

Removes samples with a peak number less than a specified value.

Usage

peak.remove(x, thresh)

Arguments

x

Binary matrix - consolidated or original.

thresh

Peak threshold value for removal.

Value

Filtered dataset, and either the row name/s or row number/s of samples that were removed.

Examples

mat = BinMatInput_ordination
new = peak.remove(mat, 4)


BinMat documentation built on March 18, 2022, 7:05 p.m.