make_Q | R Documentation |
This function creates individual ancestry coefficients (implemented through LEA) of subsetted .geno files. The subsetted .geno files are located in 'subsets/'.
make_Q(K, CPU = 1, alpha = 10, tolerance = 1e-05, iterations = 200, ploidy = 2)
K |
The K value (or range) used to calculate ancestry matrix |
CPU |
A number of CPUs to run the parallel version of the algorithm (LEA) |
alpha |
A numeric value corresponding to the snmf regularization parameter (LEA) |
tolerance |
A numeric value for the tolerance error (LEA) |
iterations |
An integer for the maximum number of iterations in SNMF algorithm (LEA) |
ploidy |
1 if haploid, 2 if diploid, n if n-ploid |
plot |
TRUE/FALSE: Plots relationships between isolates visually |
.Q file
make_Q(K = 2:20, CPU = 1, alpha = 10, tolerance = 1e-05, iterations = 200, ploidy = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.