Description Usage Arguments Value
View source: R/get_hist_bins.R
Helper function to bin a variable
1 | get_hist_bins(x, from, to, by, normalized, custom_bins = NULL)
|
x |
the variable to be binned |
from |
the minimum range |
to |
the maximum range |
by |
the break length |
normalized |
whether to normalize the counts to total counts. |
custom_bins |
A numeric vector for custom breaks to bin the histogram of fragment length. Over-rides bin_size. |
A numeric vector having counts within bins normalized by the sum of the variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.