Plot a coloc structured dataset
plot_dataset(
d,
susie_obj = NULL,
highlight_list = NULL,
alty = NULL,
ylab = "-log10(p)",
show_legend = TRUE,
color = c("dodgerblue2", "green4", "#6A3D9A", "#FF7F00", "gold1", "skyblue2",
"#FB9A99", "palegreen2", "#CAB2D6", "#FDBF6F", "gray70", "khaki2", "maroon",
"orchid1", "deeppink1", "blue1", "steelblue4", "darkturquoise", "green1", "yellow4",
"yellow3", "darkorange4", "brown"),
...
)
plot_dataset(
d,
susie_obj = NULL,
highlight_list = NULL,
alty = NULL,
ylab = "-log10(p)",
show_legend = TRUE,
color = c("dodgerblue2", "green4", "#6A3D9A", "#FF7F00", "gold1", "skyblue2",
"#FB9A99", "palegreen2", "#CAB2D6", "#FDBF6F", "gray70", "khaki2", "maroon",
"orchid1", "deeppink1", "blue1", "steelblue4", "darkturquoise", "green1", "yellow4",
"yellow3", "darkorange4", "brown"),
...
)
a coloc dataset
optional, the output of a call to runsusie()
optional, a list of character vectors. any snp in the character vector will be highlighted, using a different colour for each list.
default is to plot a standard manhattan. If you wish to plot a different y value, pass it here. You may also want to change ylab to describe what you are plotting.
label for y axis, default is -log10(p) and assumes you are plotting a manhattan
optional, show the legend or not. default is TRUE
optional, specify the colours to use for each credible set when susie_obj is supplied. Default is shamelessly copied from susieR::susie_plot() so that colours will match
other arguments passed to the base graphics plot() function