Transfer marker data
Transfer marker data between pedigrees (in the form of linkdat objects).
Both the source and target can be lists of linkdat and/or singleton objects (these
must have disjoint ID sets). Any previous marker data of the target is overwritten.
transferMarkerdata(from, to)
A linkdat object (or a list of such)
similar to to, but where all individuals also present in from
have marker genotypes copied over. Any previous marker data is erased.
Magnus Dehli Vigeland
x = list(singleton(id=5), nuclearPed(noffs=2)) x = markerSim(x, N=5, alleles=1:5, verbose=FALSE, available=4:5) y = nuclearPed(noffs=3) y = transferMarkerdata(x, y) stopifnot(all.equal(x[[1]], branch(y,5))) stopifnot(all.equal(x[[2]], subset(y,1:4)))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.