Learn R Programming

BinMat (version 0.1.4)

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)

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

Run this code
# NOT RUN {
mat = BinMatInput_ordination
new = peak.remove(mat, 4)

# }

Run the code above in your browser using DataLab