服务热线
178 0020 3020
install.packages('ggplot2')
library(ggplot2)
a<-read.csv('d:/R学习小组/R2-1-1.csv');a
gglot(a,aes(x=A,y=B,col=SIZE))+geom_point(size=2,shape=1)+xlab('A geen expression')+ylab('B gene expression')+xlim(-2,3)+ylim(-1,3)+labs(title='R2-24')
b<-read.csv('d:/R学习小组/R2-1-2.csv');b
ggplot(b,aes(x=Time,y=value,group=SIZE))+geom_line(aes(shape=SIZE))+geom_point(size=4,aes(shape=SIZE,col=SIZE))+xlab('Time')+ylab('value')+xlim(1,4)+ylim(1,3)+labs(title='R2-24')
附件