gen.plot: Plot genetic distance with standard deviation bars

Description Usage Arguments

View source: R/plots.R

Description

gen.plot generates a plot of the mean genetic distances with standard deviation bars. It assumes that file names that have been generated with m.gen.dist are as for HexSimR defaults.

Usage

1
2
3
4
5
6
7
8
9
gen.plot(
  path.results = NULL,
  scenarios = "all",
  pop.name = NULL,
  time.step = 1,
  traits,
  r = 2,
  c = 1
)

Arguments

path.results

The path to the 'Results' folder

scenarios

A character vector with the scenarios to be processed or "all"

pop.name

The name of the population

time.step

A numeric vector of length 1 to indicate the time step to be included

traits

A character vector with the traits that were included in the m.gen.dist call

r

The raw in the genetic distance matrix to use

c

The column in the genetic distance matrix to use


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.