track_circos_depth: Circos depth track

Description Usage Arguments

View source: R/track_circos_depth.R

Description

Draws a track on a circos plot for depth 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
13
track_circos_depth(
  data,
  sex,
  type = "absolute",
  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

depth data frame.

sex

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

type

Type of depth to draw the track for, either "absolute" or "relative" (default "absolute").

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

males.color

Color for male depth (default "dodgerblue3").

females.color

Color for female depth (default "firebrick2").

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.