make.admix.pie.plot | R Documentation |
make.structure.plot
makes a map of pie plots showing admixture
proportions across layers.
make.admix.pie.plot(
admix.proportions,
coords,
layer.colors = NULL,
radii = 2.7,
add = FALSE,
x.lim = NULL,
y.lim = NULL,
mar = c(2, 2, 2, 2)
)
admix.proportions |
A |
coords |
|
layer.colors |
A |
radii |
A |
add |
A |
x.lim |
A |
y.lim |
A |
mar |
A |
This function takes the output from a conStruct analysis and makes a map of pie plots showing admixture proportions across layers, where each sample is represented as a pie chart, and the proportion of the pie of each color represent that sample's admixture proportion in that layer.
This function has only invisible return values.
# make admixture pie plot
make.admix.pie.plot(admix.proportions = admix.props,coords = coords)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.