track_circos_window_snp_combined: Circos SNP window track

Description Usage Arguments

View source: R/track_circos_window_snp_combined.R

Description

Draws a track on a circos plot for SNP 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
12
track_circos_window_snp_combined(
  data,
  ylim = c(0, 1.025 * max(data$Males, data$Females) + 0.01),
  bg.col = "white",
  point.size = 0.01,
  top.track = FALSE,
  sector.names = NULL,
  sector.titles.expand = 1.3,
  sectors = NULL,
  males.color = "dodgerblue3",
  females.color = "firebrick2"
)

Arguments

data

SNP window data frame.

ylim

Limits of the y axis (default c(0, 1.025 * max(data$Males, data$Females))).

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).

males.color

Color for male-specific SNPs (default "dodgerblue3").

females.color

Color for female-specific SNPs (default "firebrick2").

sex

Sex to draw the track for, either "Females" or "Males".

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.