library(gggenes)library(ggplot2)# 在 R 环境中调用 python的对象, 在 py 对象下ggplot(py$df,aes( xmin = start, xmax = end, y = contig, fill = gene))+geom_gene_arrow()+geom_gene_label(aes(label = gene))+scale_fill_brewer(palette ="Set3")
library(gggenes)library(ggplot2)# 在 R 环境中调用 python的对象, 在 py 对象下ggplot(py$df,aes( xmin = start, xmax = end, y = contig, fill = gene))+geom_gene_arrow()+geom_gene_label(aes(label = gene))+scale_fill_brewer(palette ="Set3")