plot_admixture: Make standard stacked-bars plot of ancestry proportions.

View source: R/admixture.R

plot_admixtureR Documentation

Make standard stacked-bars plot of ancestry proportions.

Description

Make standard stacked-bars plot of ancestry proportions.

Usage

plot_admixture(Q, label = FALSE, sort_order = NULL, pop_order = NULL, ...)

Arguments

Q

a matrix of admixture proportions, melted or not

label

show individual IDs along axis

sort_order

apply pre-determined sort order to individuals, eg. by cluster membership

pop_order

named vector to map arbitrary population labels ('pop1') onto meaningful ones

...

extra arguments, ignored


andrewparkermorgan/popcorn documentation built on July 8, 2023, 12:42 p.m.