peaksToKeep-cpc-method.Rd
Method to generate an idx vector of peaks that pass the filter criteria after peak characterization.
# S4 method for cpc
peaksToKeep(x, returnBoolean = FALSE)
A cpc
object
logical
indicating if a vector of logicals should be returned instead of the row numbers (default: FALSE)
An integer
vector of peak idx that pass the criteria or if returnBoolean
is TRUE, a vector of logicals indicating, for each peak, if they pass the criteria