avg_top_n | R Documentation |
This function averages the values of the top N values of a vector 'values'. It also allows to have a minimum number of values to be averaged. If the minimum of values is not met, it returns NA.
avg_top_n(values, n, minimum = 1)
values |
the vector with the values. |
n |
number of top N values to be averaged. |
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.