This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read Data | |
data=read.table("coverage.depth", as.is=T, header=F) | |
# Chromosomal Plot | |
plot(data$V1/1000000,data$V2, las=1, pch=20, col="white", xlab="Chromosomal Position (Mb)", ylab="Depth") | |
arrows(data$V1/1000000,0,data$V1/1000000,data$V2, length=0, col="gray") | |
abline(h=0) |
Thanks so much! I just tried this out and the plot looks great.
ReplyDeleteGreat, glad to help!
ReplyDelete