plotAdmixture_MB2: Funtion to generate the Admixture PLot

View source: R/AIDmixture.R

plotAdmixture_MB2R Documentation

Funtion to generate the Admixture PLot

Description

Funtion to generate the Admixture PLot

Usage

plotAdmixture_MB2(Q_is, Fam_is, Sort_is = "", Col_is = NULL,
  Kseq = 2:4, toPDF = F, colorPal = NULL, margin = 0.05,
  modding = F, KtoMod = 0)

Arguments

Q_is

.Q file stem

Fam_is

fam file

Sort_is

Order in which the populations should be plotted

Col_is

Filename for the Colour file

Kseq

Vector of K to be plotted

toPDF

If TRUE sends the plot to pdf

colorPal

The colour palette that will be used to plot

margin

defines marigns in plot

modding

If TRUE enters plot modification

KtoMod

Integer: selects the K to modfy

Examples

## Not run: Admixture_ModPlot("Q_file", "MAP_file.map", "Sort_file.txt", 2:2)

barbatom/AIDmixture documentation built on Nov. 19, 2022, 5:41 p.m.