admix.plot.admixture#
- admix.plot.admixture(a: ndarray, labels=None, label_orders=None, ax=None) None [source]#
Plot admixture.
- Parameters:
a (np.ndarray) – A numpy array of shape (n_indiv, n_snp, 2)
labels (list) – A list of labels for each individual.
label_orders (list) – A list of orderings for the individuals.
ax (matplotlib.Axes) – A matplotlib axes object to plot on. If None, will create a new one.
- Returns:
None