Wednesday, November 4, 2015

Scatterplot in R


Here is an example:

data <- read.table("Z:\\wangz\\exome-homodel-results\\RD1-gc-cov.txt",header=TRUE,sep='\t')
attach(data)
plot(data$GC, data$cov, main="Scatterplot", xlab="GC content ", ylab="Coverage ")




No comments:

Post a Comment