Learn R Programming

peakPick (version 0.11)

scaledrow: Helper functions for computing scaled peaks

Description

Helper functions for computing scaled peaks

Usage

scaledrow(mat, positions, nsd)

Arguments

mat
matrix of series with series organized columnwise
positions
vector of positions to exclude from threshold computation. Internal use only; follows R's rules of matrix indexing by vector.
nsd
numeric number of standard deviations for limits (see Value)

Value

vector limits defined as means + nsd SEMs computed for the columns of mat, excluding positions from the calculation.