Description Usage Arguments Examples
View source: R/draw_manhattan_plot.R
Draw a manhattan plot from the PSASS data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
A PSASS data structure obtained with the |
output.file |
Path to an output file in PNG format. If NULL, the plot will be drawn in the default graphic device (default: NULL). |
width |
Width of the output file if specified, in inches (default: 14). |
height |
Height of the output file if specified, in inches (default: 8). |
dpi |
Resolution of the output file if specified, in dpi (default: 300). |
track |
Track to be plotted. Possible values are "position_fst", "window_fst", "window_snp_males", "window_snp_females", "depth_males", "depth_females" (default: "window_fst"). |
lg.numbers |
If TRUE, chromosomes / LGs will be labeled with numbers instead of names to increase readability (default: FALSE). |
point.size |
Size of a point in the plot (default 0.5) |
point.palette |
Color palette for the dots (default c("dodgerblue3", "darkgoldenrod2")) |
background.palette |
Color palette for the background (default c("grey85", "grey100")) |
depth.type |
Type of depth to be plotted, either "absolute" or "relative" (default: "absolute"). |
min.depth |
Minimum depth to compute depth ratio. The ratio for positions with depth lower than this value in either sex will be 1 (default: 10). |
1 | draw_manhattan_plot(data, track = "window_fst")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.