Genetic locus utilities {rmetasim}R Documentation

Provides convenient summarys of locus characteristics

Description

return a vector of information about loci

Usage

  locusvec(Rland)
  ploidy(Rland)

Arguments

Rland the Rmetasim landscape object

Details

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.

Value

vector

Examples

  exampleland <- new.example.landscape()
  exampleland <- simulate.landscape(exampleland, 4)
  locusvec(exampleland)
  ploidy(exampleland)

[Package Contents]