| Genetic locus utilities {rmetasim} | R Documentation |
return a vector of information about loci
locusvec(Rland) ploidy(Rland)
Rland |
the Rmetasim landscape object |
locusvec() returns a vector that gives the numeric locus
ids for the columns in the rland$individuals matrix.
ploidy() returns a vector that gives the ploidy of each locus.
vector
exampleland <- new.example.landscape() exampleland <- sim.landscape(exampleland, 4) locusvec(exampleland) ploidy(exampleland)