track_circos_window_fst: Circos FST window track

Description Usage Arguments

View source: R/track_circos_window_fst.R

Description

Draws a track on a circos plot for FST window data. This function is intended for use in the draw_circos_plot function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
track_circos_window_fst(
  data,
  ylim = c(0, 1.025 * max(data$Fst) + 0.01),
  bg.col = "white",
  point.size = 0.01,
  top.track = FALSE,
  sector.names = NULL,
  sector.titles.expand = 1.3,
  sectors = NULL,
  color.palette = c(`0` = "dodgerblue3", `1` = "goldenrod1", `2` = "grey20")
)

Arguments

data

FST window data frame.

ylim

Limits of the y axis (default c(0, 1.025 * max(FST))).

bg.col

Background color for sectors, either a single color or a vector of colors for each sector (default "white").

point.size

Size of a point in the plot (default 0.01).

top.track

If TRUE, this track will be considered top track of the plot and the x axis will be drawn (default FALSE).

sector.names

Vector of contig names obtained with the load_contig_names (default NULL).

sectors

Vector with the names of the sectors in the plot (default NULL).

color.palette

Color palette for this track (default c("0"="dodgerblue3", "1"="goldenrod1", "2"="grey20")).

sector.title.expand

Value controlling the distance between sector titles and the top axis (default 1.3).


INRA-LPGP/PoolSex-vis documentation built on March 7, 2020, 6:03 p.m.