Displaying 1 result from an estimated 1 matches for "illusmp454merb".
Did you mean:
illusmp454merbed
2011 Nov 26
1
plot xy data
Hi,
Has anyone know about how to get the correct plot?
I have use this R script (as below), so I expect the plot is based on x axis, but the result was opposite. Any suggestion will be great.
library(IRanges)
data <-read.table(file="~/q20snpref/illusmp454merbed",sep="\t",header=F)
colnames(data)<-c("Scaffold","sca_position","coverage")
depth<-mean(data[,"coverage"])
#depth now has the mean (overall)coverage
#set the bin-size
window<-10001
rangefrom<-0
rangeto<-length(data[,"sca_...