eigen_pvals | R Documentation |
Takes a list containing results from eigen_analyse_vectors() and calculates p-values based on null vectors.
eigen_pvals(eigen_res, null_vectors)
eigen_res |
A list of results from eigen_analyse_vectors(). This can be easily created by combining eigen_analyse_vectors with lapply. Each element of the input list should correspond to the eigen decomposition results for a given genome window. |
null_vectors |
A list of NULL allele frequency change vector matrices as output by calc_AF_vectors() with null_perms set to a numeric value. This is only necessary if wanting to calculate and plot p.values. |
Matrix of p-values for each window (rows) for each eigenvector (columns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.