Description Usage Arguments Details Value See Also Examples
View source: R/determine_bin_cutoff.R
Takes the output of get_mean_median
and decide until which window to keep
based on background level and a threshold.
1 2 3 | determine_bin_cutoff(metric_table, threshold = 2,
selected_metric = c("mean", "median", "score"),
random_function_summarisation = mean)
|
metric_table |
A data frame, usually the output of |
threshold |
How many time higher than the background should the last bin be? Default to 2. |
selected_metric |
Which metric to use (i.e. which column from metric_table to work with).
Default to |
random_function_summarisation |
A function used to aggregate the
randomised control across
bin. Default to |
Background level is estimated by averaging correlation coefficient obtained from the top window randomisations.
Bins (or windows) of features are kept until the mean (or median)
correlation coefficient falls under
a threshold value threshold x background level
.
A number, the first bin of features to discard.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.