View source: R/track_circos_window_snp_combined.R
Draws a track on a circos plot for SNP window data. This function is intended for use in the draw_circos_plot
function.
1 2 3 4 5 6 7 8 9 10 11 12 |
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 |
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). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.