sum_top_n | R Documentation |
This function sums the values of the top N values of a vector 'values'. It also allows to have a minimum number of values to be summed. If the minimum of values is not met, it returns NA.
sum_top_n(values, n, minimum = 1)
values |
the vector with the values. |
n |
number of top N values to be summed. |
minimum |
minimum number of valid (not NA) values allowed in order to return a value. |
This top N approach is INDIVIDUAL, that is, there is no consensus among replicates to choose the top N peptides.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.