plotting.structure: This plots the output of structure

Description Usage Arguments

View source: R/gwscaR_plot.R

Description

This plots the output of structure

Usage

1
2
3
4
plotting.structure(structure.out, k, pop.order, filename = paste("str.k",
  k, ".jpeg", sep = ""), make.file = TRUE, lab.cex = 1,
  plot.new = TRUE, colors = NULL, xlabel = TRUE, ylabel = NULL,
  xlabcol = NULL)

Arguments

structure.out

A data.frame containing the structure output.

k

The value of K used in Structure

pop.order

The order in which the populations are plotted.

filename

The name of the jpeg for the output file.

make.file

A boolean (TRUE/FALSE) indicating whether the jpeg should be created

lab.cex

Size of the labels

plot.new

A boolean (TRUE/FALSE) indicating whether this is being added to an existing plot

colors

A list of colors for the structure colors (if not provided, defaults to rainbow palette)

xlabel

A boolean (TRUE/FALSE) indicating whether x labels should be plotted (default is TRUE)

ylabel

An optional label for the y-axis.

xlabcol

An optional vector of colors for x-axis labels


spflanagan/gwscaR documentation built on Nov. 14, 2019, 9:16 p.m.