AncestryMapper {AncestryMapper} | R Documentation |
Package computes the genetic distance, defined as the euclidean distance amongst a sample set of individuals and any number of human population references. The package allows for the visualisation of the relationship of sample individuals to the reference populations, thus permitting the user to assess the relationship of individuals to different geographic groupings.
Package comes with pre-loaded with toy data and toy references from various sources comprising 158 global populations.
Additional and full Population References can be downloaded from:
http://bit.ly/1OUstDP
Package: | AncestryMapper |
Type: | Package |
Version: | 2.0 |
Date: | 2016-08-?? |
License: | None |
LazyLoad: | yes |
Eoghan T. O'Halloran ,Tiago R. Magalh\~aes, Darren J. Fitzpatrick
Maintainer: Eoghan T. O'Halloran <eoghan.ohalloran2@mail.dcu.ie>
Magalh\~aes et al, 2012 PLOS One accepted.
image dist
## Not run:
library(AncestryMapper)
Refs <- system.file ("data", package = "AncestryMapper")
tpeds <- system.file ("extdata", package = "AncestryMapper")
Corpheno <- system.file ("extdata", "CorPheno", package =
"AncestryMapper")
All00Frq <- system.file ("data", "MinMaxFreq.rda", package = "AncestryMapper")
genetic.distance <- calculateAMidsArith(pathTotpeds = tpeds,
NameOut = "Example",
pathToAriMedoids = Refs,
pathAll00 = All00Frq)
plotAMids(AMids = genetic.distance, phenoFile = Corpheno, columnPlot = "I")
## End(Not run)