isFemale | R Documentation |
Test if individuals of a population are female or male
isFemale(x)
isMale(x)
x |
|
logical
isMale()
: Test if individuals of a population are female or male
founderGenomes <- quickHaplo(nInd = 3, nChr = 1, segSites = 100)
SP <- SimParam$new(founderGenomes)
SP$setSexes(sexes = "yes_sys")
pop <- newPop(founderGenomes)
isFemale(pop)
isMale(pop)
pop[isFemale(pop)]
pop[isFemale(pop)]@sex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.