This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ggbio package only works with h19 genome

Someone here knows how to use the bioconductor ggbio package for plotting ideograms?

In the manual it says:

Ideogram provides functionality to construct ideogram, check the manual for more flexible methods. We build genome hg19, hg18, mm10, mm9 inside, so you don't have download it on the fly.

library(ggbio) p.ideo <- Ideogram(genome = "hg19")
p.ideo

But when I replace the h19 to mm10 in the code bellow, I get an error:

> p.ideo <- Ideogram(genome = "mm10")
use chr1 automatically
Error in ifelse(nrow(df.tri.p2), list(do.call(geom_arch_flip2, c(list(data = df.tri.p2),  :
  erro na avaliação do argumento 'yes' na seleção do método para a função 'ifelse': 'Error in eval(expr, envir, enclos) : object 'y' not found

Can someone help me?

rna-seq ggplot2 r ggbio

I can not reproduce your error, it loads without problem for me.

maybe you can try rm(list=ls()) first?

I'm getting the same error. Did you find a solution?

0 answers

No answers yet.

Log in to answer this question.