Description Usage Arguments Details Value Author(s) References Examples
Extract the k largest or smallest values and their indices for each column of a matrix.
1 | getKminmax(x, k, flag = "max")
|
x |
a data matrix or data frame. |
k |
an integer specifying the number of extreme values. Must be
|
flag |
use "min" or "max" (default) to select smallest or largest elements. |
Order the values of each column of x
and determine the
k smallest (flag = "min"
) or largest (flag = "max"
) values and
their indices. NA's in the data are ignored.
List with elements:
|
indices of ordered extreme values |
|
ordered extreme values. |
Ariane Schad
Brombacher, E., Schad, A., Kreutz, C. (2020). Tail-Robust Quantile Normalization. BioRxiv.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.