美文网首页
2019-05-22

2019-05-22

作者: 花开到花落知多少 | 来源:发表于2019-05-22 15:11 被阅读0次

R Code:

getwd()library(ggplot2)

Data <- read.table("data.txt",header = T,sep = "\t")

attach(Data)

p <- ggplot(Data, aes(x = Impact,y = pathway)) + geom_point(aes(size=Hits,color=FDR)) + scale_colour_gradient(low="red",high="green") + theme_bw()

p <- p + labs(size="Compound number",x="Impact",y="Pathway Name",title="Pathway Compound")


数据实例:

相关文章

网友评论

      本文标题:2019-05-22

      本文链接:https://www.haomeiwen.com/subject/xjjkkqtx.html