Description Usage Arguments Value
Perform peak filtering of MSI dataset by one of three methods. "topX" retains the top X peaks by intensity. "XofTop" retains all peaks above fraction X of the highest peak. "XofTotal" retains the top peaks (by intensity) that cumulatively account for 1-X of the total intensity. For "topX", the value of parameter X should be an integer >= 1, whereas for the latter two, X should be between 0 and 1.
1 2 | filterPeaks(d, how = c("topX", "XofTop", "XofTotal"), x = NULL,
index = NULL)
|
d |
either an |
how |
character; Method to use for filtering (see above) |
x |
numeric; Parameter for the filtering method. |
index |
logical; If input is a dataframe, and |
Either a data.frame or msimat object, representing subset of the
input data, or a vector of indices if index=TRUE
and the input
is a data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.