美文网首页
2019-11-06

2019-11-06

作者: 大伟_f428 | 来源:发表于2019-11-06 20:20 被阅读0次

第一次学R语言

setwd('C:/Users/SURFACE/Desktop') 工作环境

a=read.table('lw.txt',header=T) 赋值

ggplot(a,aes(x=sample,y=value))+geom_boxplot() 画图

点图

setwd('C:/Users/SURFACE/Desktop')

a=read.table('lw.txt',header=T)

ggplot(a,aes(x=sample,y=value))+geom_boxplot()

plot(a$value, a$number, col=cols, panel.first=grid(),main="Volcano plot", xlab="log2(fold-change)", ylab="-log10(adjusted p-value)",

    pch=20, cex=1.0,cex.axis=1.3, cex.lab=1.2)

相关文章

网友评论

      本文标题:2019-11-06

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