RitchieLab / eQTpLot

Visualization of Colocalization Between eQTL and GWAS Data
75 stars 19 forks source link

Error: gridtext has encountered a tag that isn't supported yet: <h2> Only a very limited number of tags are currently supported. #13

Closed albert-ying closed 2 years ago

albert-ying commented 2 years ago

Hi, I encountered this error when running the example

library(tidyverse)
library(eQTpLot)

data(GWAS.df.example)
data(eQTL.df.example)

eQTpLot(
  GWAS.df = GWAS.df.example,
  eQTL.df = eQTL.df.example,
  gene = "BBS1",
  gbuild = "hg19",
  trait = "LDL"
)
[1] "Checking input data..."
[1] "PHE column found in GWAS.df. Analyzing data for phenotype LDL"
[1] "Compiling GWAS and eQTL data..."
[1] "eQTL analysis will be completed for tissues 'all' and for gene BBS1"
[1] "Generating main plot..."
[1] "Generating gene tracks..."
[1] "Generating eQTL enrichment plot..."
[1] "Generating P-P plot..."
[1] "Merging and plotting..."
Error: gridtext has encountered a tag that isn't supported yet: <h2>
Only a very limited number of tags are currently supported.
In addition: Warning message:
`guides(<scale> = FALSE)` is deprecated. Please use `guides(<scale> = "none")` instead. 
TGDrivas commented 2 years ago

Hi Albert,

The example still works for me -- I suspect that some of the R packages the eQTpLot depends on may be out of date on your end. Could you try updating to the latest versions of the dependencies and see if this resolves the issue?\

-Teddy