calc_var_pi | R Documentation |
Function to calculate the sampling variance of pi (Nei 1987, eq. 10.7; from source code of DNAsp)
calc_var_pi(x, nsites = NULL)
x |
An object of class DNAbin or a matrix where rows are sequences and columns are nucleotide positions (assumed to be already aligned) |
nsites |
Optional integer specifying the total number of nucleotide sites in the alignment if fastsimcoal2 does not output all sites |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.