admix_plot: Plot STRUCTURE/ADMIXTURE results

Description Usage Arguments Value

View source: R/admix_plot.R

Description

The function plots STRUCTURE/ADMIXTURE plots given Q-matrices.

Usage

1
2
3
admix_plot(q.mat, pop.col = 1, prob.col = 2, sort.probs = TRUE,
  label.pops = TRUE, col = NULL, horiz = TRUE,
  legend.position = c("top", "left", "right", "bottom", "none"))

Arguments

q

matrices

Value

ggplot for different K


shankarkshakya/mypackage documentation built on Nov. 15, 2018, 9:51 p.m.