truenames {adegenet} | R Documentation |
The function truenames
returns some elements of an object
(genind or genpop) using true names
(as opposed to generic labels) for individuals, markers, alleles, and population.
## S4 method for signature 'genind': truenames(x) ## S4 method for signature 'genpop': truenames(x)
x |
a genind or a genpop object |
If x$pop is empty (NULL), a matrix similar to the x$tab slot but
with true labels.
If x$pop exists, a list with this matrix ($tab) and a population
vector with true names ($pop).
Thibaut Jombart jombart@biomserv.univ-lyon1.fr
data(microbov) microbov microbov$tab[1:5,1:5] truenames(microbov)$tab[1:5,1:5]