Question: ggbio won't plot ideogram in R version 3.3.1, ggplot2 version 3.1.0
1
gravatar for t.fadason
8 months ago by
t.fadason10
t.fadason10 wrote:

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 • 239 views
ADD COMMENTlink written 8 months ago by t.fadason10

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

ADD REPLYlink written 8 months ago by fshodan0

Unfortunately ggbio is only supported on R 3.5.
 

ADD REPLYlink written 8 months ago by Michael Lawrence11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 141 users visited in the last hour