TaoYang-dev / hicrep

R package to evaluate the reproducibility of Hi-C data
25 stars 4 forks source link

Changed indexing for converting vector to matrix #57

Open Lila14 opened 7 years ago

Lila14 commented 7 years ago

depth.adj.R was producing an error that seemed to be due to the chromosome not starting at coordinate 0. I have attempted to make changes that will give the correct indexing regardless of chromosome start. (See comments in file.) The code has worked in my testing, but please review to make sure I understood the behavior of the script correctly.