gggenes icon indicating copy to clipboard operation
gggenes copied to clipboard

conflicts between gggenomes and gggenes

Open zhaoxvwahaha opened this issue 2 years ago • 1 comments

Hi,

The following 2 commands work well when I only install gggenes, but after installed the gggenomes, the command didn't work and get errors:

p<-ggplot(da, aes(xmin = start, xmax = end, y =molecule, fill = gene, label = gene)) p+geom_gene_arrow(arrow_body_height = unit(10, "mm"),arrowhead_height = unit(10, "mm"),arrowhead_width = unit(2, "mm"),alpha=0.8,colour="white")+geom_gene_label(height = grid::unit(8, "mm"), grow = FALSE)+theme_genes()+scale_x_continuous(breaks=seq(0, 35000, 4000)) Error in UseMethod("pull_genes") : no applicable method for 'pull_genes' applied to an object of class "data.frame" In addition: Warning message: Ignoring unknown parameters: height, grow

zhaoxvwahaha avatar Jan 06 '22 07:01 zhaoxvwahaha

Hi @zhaoxvwahaha, could you please post your code as a reproducible example, including some sample data? Thanks!

wilkox avatar Jan 08 '22 05:01 wilkox