美文网首页
Correlation Heatmap

Correlation Heatmap

作者: 天道昭然 | 来源:发表于2020-02-27 14:12 被阅读0次
    #install.packages("corrplot")
    
    
    rt=read.table("CIBERSORT.filter.txt",sep="\t",header=T,row.names=1,check.names=F)
    
    library(corrplot)
    pdf("corHeatmap.pdf",height=13,width=13)              #保存图片的文件名称
    corrplot(corr=cor(rt),
             method = "color",
             order = "hclust",
             tl.col="black",
             addCoef.col = "black",
             number.cex = 0.8,
             col=colorRampPalette(c("blue", "white", "red"))(50),
             )
    dev.off()
    
    

    相关文章

      网友评论

          本文标题:Correlation Heatmap

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