服务热线
178 0020 3020
Library(ggplot2) #install package ggplot2
R1_1<-read.csv(“R2-1-1.csv”) #input data
ggplot(R1_1, aes(x=A,y=B)) + geom_point(size=3,shape=21) # plot a basic picture
ggplot(R1_1, aes(x=A,y=B,color=SIZE)) + geom_point(size=3,shape=21) # block sort color
ggplot(R1_1, aes(x=A,y=B,color=SIZE)) + geom_point(size=3,shape=21)+labs(xlib=”A gene expression”,ylib=”B gene expression”,title=”R2-35”) #add lables
R2_2<-read.csv(“R2-1-2.csv”) # get data
ggplot(R2_2,aes(x=Time,y=value,color=SIZE,shape=SIZE)+geom_point(size=3)+geom_line(color="black")+labs(title=”R2-35”)
附件