Description Usage Arguments Value
View source: R/hash_matrix_analysis.R
Select a cutoff for hash counts using automatic, k-means based splitting
1 2 3 4 5 6 7 | select_hash_cutoff(
x,
use_median_cut = FALSE,
min_cut = 10,
min_fc = 2,
seed = 3030
)
|
x |
a numeric vector of hash count values |
use_median_cut |
a logical value indicating whether or not to use the median value of x to set a minimum threshold. Default is FALSE. |
min_cut |
a numeric value for the minimum number of counts to consider. Default is 10. |
min_fc |
a numeric value for the minimum expected fold change between the centers of the two clusters (positive and negative). Default is 2. |
seed |
a value to use as a random seed for k-means clustering. Default is 3030. |
a numeric value to use as a cutoff. If no values are above min_cut, returns max(x), otherwise returns max(x) for non-passing values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.