swapGenotypes | R Documentation |
Swap genotypes between individuals
swapGenotypes(x, ids = NULL)
x |
A |
ids |
A vector of 2 members of |
An object identical to x
, except that the genotypes of the ids
pair have been swapped.
transferMarkers()
x = nuclearPed() |>
addMarker(geno = c("1/1", "2/2", "3/3"))
swapGenotypes(x, ids = 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.