genind2diffs | R Documentation |
genind2diffs function
Generates a diffs matrix from a genind object
genind2diffs(
genind.obj,
ploidy = 2,
include.indv.names = F,
output.file = NULL
)
genind.obj |
Input genind object (see adegenet package for description of genind class). Non-biallelic sites are dropped if they exist. |
ploidy |
Integer indicating the ploidy of individuals |
include.indv.names |
If the output matrix should include the names of the individuals as rownames and column names. Default FALSE |
output.file |
Optional character string to save the result to a file. |
A list of length three with (1) a numeric matrix corresponding to the Diff matrix used for EEMS, (2) the number of individuals, (3) number of biallelic sites in genind.obj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.