ggseqlogo包绘图参数
1、基本参数查看
??ggseqlogo#查看参数
ggseqlogo(data, facet = "wrap", scales = "free_x", ncol = NULL,
nrow = NULL, ...)
2、基本序列分析图绘制
ggseqlogo(df1)
ggseqlogo(df3)
3、方法的选择——“bits”(默认)和“probability”
p1<-ggseqlogo(df3,method="bits")
p2<-ggseqlogo(df3,method="probability")
cowplot::plot_grid(p1,p2,ncol=1)
4、绘制多个图时通过facet与ncol控制
ggseqlogo(df1, facet = "wrap",ncol = 1)
ggseqlogo(df1, facet = "wrap",ncol = 2)