setAvailable | R Documentation |
Functions to set and modify the availability vector of a 'linkdat' object. This vector is used in 'linkage.power' and 'linkageSim', indicating for whom genotypes should be simulated.
setAvailable(x, available) swapAvailable(x, ids)
x |
a |
available |
a numeric containing the IDs of available individuals. |
ids |
the individual(s) whose availability status should be swapped. |
The modified linkdat
object.
plot.linkdat
, linkage.power
,
linkageSim
data(toyped) x = linkdat(toyped) x = setAvailable(x, 3:4) x = swapAvailable(x, 2:3) x$available
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.