Description Usage Arguments Value Author(s) Examples
Reorder the genotype columns of a class genalex
object by locus.
1 2 | ## S3 method for class 'genalex'
reorderLoci(x, loci, ...)
|
x |
An annotated data frame of class |
loci |
The names of loci found in |
... |
Additional arguments, currently ignored |
A data frame of class genalex
containing the same
genotype data from x
reordered according to loci
.
Douglas G. Scofield
1 2 3 4 | data(Qagr_adult_genotypes)
# reverse loci
loci <- rev(attr(Qagr_adult_genotypes, "locus.names"))
reord = reorderLoci(Qagr_adult_genotypes, rev(loci))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.