powered by
Swap genotypes between individuals
swapGenotypes(x, ids = NULL)
An object identical to x, except that the genotypes of the ids
x
ids
pair have been swapped.
A ped object or a list of such.
ped
A vector of 2 members of x.
transferMarkers()
x = nuclearPed() |> addMarker(geno = c("1/1", "2/2", "3/3")) swapGenotypes(x, ids = 1:2)
Run the code above in your browser using DataLab