View source: R/polyqtlR_functions.R
convert_mappoly_to_phased.maplist | R Documentation |
Convert MAPpoly.map object into a phased maplist, needed for IBD estimation
convert_mappoly_to_phased.maplist(mappoly_object)
mappoly_object |
An object of class 'mappoly.map', for example output of the function |
A phased.maplist, with linkage group names LG1 etc. Each list item is a data.frame with columns marker, position followed by the phased map, coded in 1 and 0 for presence/absence of SNP (alternative) allele on parental homologues (h) numbered 1:ploidy for parent 1 and ploidy + 1 : 2*ploidy for parent 2.
## Not run:
library("mappoly")
phased.maplist <- convert_mappoly_to_phased.maplist(maps.hexafake)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.