ggbio won't plot ideogram in R version 3.3.1, ggplot2 version 3.1.0
0
1
Entering edit mode
t.fadason ▴ 10
@tfadason-18668
Last seen 2.9 years ago

I keep getting this error with autoplot (or plotIdeogram) in ggbio.

Error in rep(startY, each = length(yy)) : 
  attempt to replicate an object of type 'language'

Wondering if it has to do with the ggplot2 (3.1.0) as suggested by this issue. Following is a sample of my code:

library(ggbio)
library(biovizBase)
data(hg19IdeogramCyto)
plotIdeogram("hg19")
ggbio::plotIdeogram(hg19IdeogramCyto)

Does anyone know a fix to this? 

Thank you

 

 

ggbio ggplot2 • 711 views
ADD COMMENT
0
Entering edit mode

I had the same error, but in R version 3.4.4.

ADD REPLY
0
Entering edit mode

Unfortunately ggbio is only supported on R 3.5.
 

ADD REPLY

Login before adding your answer.

Traffic: 526 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6