Description Usage Arguments Value Author(s) See Also Examples
Create a new object of class genalex
given sample and
population names and genotype data. Titles for the dataset, sample
and population columns, and loci may be provided via the names
argument.
1 2 |
samples |
Sample names, must be unique and length must
match the number of rows in |
pops |
Population names. If |
genotypes |
Genotype values, must be numeric |
names |
List of names: |
ploidy |
Ploidy of |
extra.columns |
Extra data columns, see |
Annotated data frame of class genalex
. If names
or any of its fields are not provided, default names are used. The
data.file.name
attribute is a character representation of the call
to genalex
.
Douglas G. Scofield
1 2 3 4 5 | gt <- data.frame(a = 11:13, a.2 = 14:16, b = 101:103, b.2 = 104:106)
nms <- list(title = "Example")
x <- genalex(1:3, "snurf", gt, nms)
x
attributes(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.