powered by
Filter for high variance signals
filterVariance( vars, method = c("mean", "median", "q25", "q75", "none"), verbose = TRUE )
Indices of spectra with a high variance
Numeric vector, variances of signals
Character, filtering method. One of "mean" (default), "median", "q25", "q75" (25 and 75% quantile) or "none".
Logical, print logs to console.
data(Blank2022intmat) # get variance of each peak vars <- apply(Blank2022intmat, 2, var) highVarIndicies <- filterVariance(vars, method = "mean", verbose = TRUE)
Run the code above in your browser using DataLab