美文网首页
R语言画热图

R语言画热图

作者: bio_橡树 | 来源:发表于2018-08-21 15:32 被阅读0次

setwd("/Users/apple/desktop/R")
data<-read.table("zyfhqg.txt",head=T,row.names=1)
data<-log(data)
par(oma=c(0,0,0,5))
library("gplots")
heatmap.2(as.matrix(data),col=bluered(75),key=TRUE,density.info="none",trace="none",cexRow=0.5,Colv=FALSE,dendrogram="row")

相关文章

网友评论

      本文标题:R语言画热图

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