View source: R/get_rounded_max.R
get_rounded_max | R Documentation |
Internal helper which takes a long and tidy data frame containing read or count numbers derived from MultiQC, and finds the largest read or count value, then round it up to the nearest ten million.
get_rounded_max(x, buffer = 1.1, nearest = 1e+07)
x |
Data frame of read information |
buffer |
Multiply the largest value by this factor before rounding.
Defaults to |
nearest |
Nearest number to round up to. Defaults to |
Input data frame must contain the columns "sample" and "n_reads".
Numeric; maximum number of total reads or counts
None.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.