服务热线
178 0020 3020
第一题:
library(ggplot2) mydata<- read.csv("D:/data/R2-1-1.csv",header=TRUE) xmax <- ceiling(max(mydata$A)) xmin <- ceiling(min(mydata$A))-1 ggplot( mydata, aes(A,B))+ geom_point(aes(color=SIZE),size=2,shape=1)+ ggtitle("R2-31")+ xlab("A gene expressiom")+ ylab("B gene expressiom")+ xlim(xmin,xmax)+ ylim(-1,3)
第二题:
mydata<- read.csv("D:/data/R2-1-2.csv",header=TRUE)
ggplot(mydata, aes(Time,value,color =SIZE,shape = SIZE))+
(color = "blue")+geom_point(size=3)+
ggtitle("R2-31")+xlab("Time")+ylab("value")
附件