spacemix.location.data | R Documentation |
Example location data for visualizing how a Procrustes superimposition works
spacemix.location.data
A list with 5 elements,
where K
= the number of samples
a matrix (2 x K
) of geogenetic location coordinates
generated for each sample in a SpaceMix run
a matrix (2 x K
) of admixture source location
coordinates generated for each sample in a SpaceMix run
a matrix (K
x 2) of geographic sampling
coordinates for the samples in the dataset
a vector (length = K
) of colors for
pretty plotting of sample coordinates
a vector (length = K
) of colors for
admixture sources, generated using
fade.admixture.source.points
,
which makes the opacity of the pop.colors
proportional to the admixture proportion for each sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.