View source: R/find_null_cutoff.R
find_null_cutoff | R Documentation |
This function takes the output the eigen analysis and returns a matrix of summed values where each eigenvalue is the sum of itself and the eigenvalues that preceed it. This summed value is what is plotted and tested for significance. This function can be run over a list of eigen_analyse_vectors with lapply().
find_null_cutoff(null_res = NULL, cutoffs = c(0.99))
null_res |
A list of NULL allele frequency change vector matrices as output by calc_AF_vectors() with null_perms set to a numeric value. |
cutoffs |
Numeric vector of alpha thresholds for null distribution cutoffs, for e.g. 0.95 = 5%, 0.99 = 1% e.t.c. |
A matrix of null cutoffs with one row per eigenvalue and one column per significance threshold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.