Added the manhattan_plot()
function to generate Manhattan plots from a table of GWAS results.
Fixed bug where specifying chromosome limits for hidecan_plot_from_gwaspoly()
would mess up the ordering of the chromosomes in the plot.
New S3 classes to store custom genomic features: CUSTOM_data
and CUSTOM_data_thr
.
create_hidecan_plot()
now accepts CUSTOM_data_thr
objects as input, which allows users to add custom tracks to their plot. It has an additional argument custom_aes
to handle the aesthetics for custom tracks.
Added the hidecan_aes()
function which returns the default aesthetics for the different types of data in the plot.
Removed get_gwaspoly_example_data()
function so that the package doesn't depend on GWASpoly (for CRAN submission)
Saved the example object previously returned by get_gwaspoly_example_data()
in as an rda
file in the extdata
folder