jrs95 / geni.plots

GENI plots to visualise results from genome-wide association studies
https://jrs95.github.io/geni.plots/
GNU General Public License v3.0
19 stars 1 forks source link

Error when running fig_region and fig_region_stack #3

Open david-ds3938 opened 1 month ago

david-ds3938 commented 1 month ago

Hi James,

Long time user of gassocplot and gassocplot. Getting the below error with the fig_region and fig_region_stack functions from the geni.plots package:

Error in Ops.data.frame(guide_loc, panel_loc) : ‘==’ only defined for equally-sized data frames

I get this same error when I run the code for these two functions in your vignette as well. All the other figures work as advertised.

Cheers, David

jrs95 commented 1 month ago

Hi David,

Thanks for using the gassocplot packages and now geni.plots.

This error is resolved by updating the ggplot2 and patchwork packages to the latest CRAN releases. See here for further details.

Best wishes,

James

david-ds3938 commented 1 month ago

Hi James,

Thanks for this – that got it! Rookie error…

Cheers, David

From: James Staley @.> Sent: Wednesday, June 5, 2024 12:16 AM To: jrs95/geni.plots @.> Cc: David Stacey @.>; Author @.> Subject: Re: [jrs95/geni.plots] Error when running fig_region and fig_region_stack (Issue #3)

Hi David,

This error is resolved by updating the ggplot2 and patchwork packages to the latest CRAN releases. See herehttps://github.com/jrs95/geni.plots/issues/2 for further details.

Best wishes,

James

— Reply to this email directly, view it on GitHubhttps://github.com/jrs95/geni.plots/issues/3#issuecomment-2147724214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BI5R2DRMDDKSAMPHRXHL2STZFXHJVAVCNFSM6AAAAABIXU4AWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXG4ZDIMRRGQ. You are receiving this because you authored the thread.Message ID: @.***>