Learn R Programming

BinMat (version 0.1.6)

peak.remove: 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)

Value

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

Arguments

x

Binary matrix - consolidated or original.

thresh

Peak threshold value for removal.

Examples

Run this code
mat = BinMatInput_ordination
new = peak.remove(mat, 4)

Run the code above in your browser using DataLab