pid_permute | R Documentation |
Calculate Probability of Identity (PID) & PIDsibs for different combinations of loci
pid_permute(obj, nrep = 1000)
obj |
a diploid genind object |
nrep |
the number of permutations to perform |
a list with three elements, reporting the raw data.frame from the permutations performed, the median values of PID & PIDsibs from 1 to the total number of loci, a boxplot plot
Nikolaos Tourvas
## Not run: data(nancycats) # load the "nancycats" genind obj from package adegenet pid_perm <- pid_permute(obj = nancycats) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.