服务热线
178 0020 3020
library(ggplot2) library(plyr) library(reshape2) library(scales) a<-read.csv('D:/R-LMT/8/2.csv');a a_1<-melt(a,id.vars=c('锘縄D'));a_1 a_2<-ddply(a_1,.(variable),transform,lable=rescale(value));a_2 ggplot(a_2,aes(variable,锘縄D))+geom_tile(aes(fill=lable),colour='white')+scale_fill_gradient(low='green',high='red')+ggtitle('R2-24')+xlab('')+ylab('miRNA ID')
附件