plot_genome_circle: Plot circular genome scan

Description Usage Arguments

View source: R/plot_genome_circle.R

Description

This functions plots variables across the genome in a circular plot.

Usage

1
2
3
plot_genome_circle(path = ".", vars = c("Fst", "varP"), time = 5e+05,
  tracks = seq_along(vars), cols = palette()[seq_along(vars)],
  legend = T)

Arguments

path

Where the data for the given simulation are to be found.

vars

The variables to plot along the genome.

time

What time point?

tracks

A vector of integer indices indicating what track (i.e. line from the outside inwards) each variable should appear on. Should be of the same length as vars. To overlay variables on the same track, assign to them the same index.

cols

Colors. Should be as long as vars. If not specified, default palette colors are taken.

legend

Do we plot the legend?


rscherrer/epianalysis documentation built on May 26, 2019, 2:32 p.m.