A repository of programs, scripts, and tips essential to
genetic epidemiology, statistical genetics, and bioinformatics
Pages
▼
Thursday, December 12, 2013
Generate Coverage Plot in R from Depth Data
Here is a simple way to take coverage data (coverage.depth) and make a plot in R to visualize it. All you need is a column with base pair coordinates (V1) and a column with respective depth (V2) and you are all set to plug it in the below R code.
Thanks so much! I just tried this out and the plot looks great.
ReplyDeleteGreat, glad to help!
ReplyDelete