Learn R Programming

AncestryMapper (version 2.0)

AncestryMapper: Ancestry Mapper 2.0

Description

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

Arguments

Details

Package:
AncestryMapper
Type:
Package
Version:
2.0
Date:
2016-08-??
License:
None
LazyLoad:
yes

References

Magalh\~aes et al, 2012 PLOS One accepted.

See Also

image dist

Examples

Run this code
## 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)

Run the code above in your browser using DataLab