Register user-defined top-value methods
a named list of functions.
The user-defined function should accept one argument which is the data matrix and the scores are calculated by rows. Rows with top scores are treated as "top rows". Follow is how we register "sd" top-value method:
Of course, you can use
rowSds to give a faster calculation of row sd:
The registered top-value method will be used as defaults in
To remove a top-value method, use
There are four default top-value methods:
standard deviation, by
coefficient variance, calculated as
s is the 10th quantile of all row means.
median absolute deviation, by
No value is returned.
Zuguang Gu <[email protected]>
all_top_value_methods lists all registered top-value methods.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.