peak.remove {BinMat} | R 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)
[Package BinMat version 0.1.5 Index]