robinweide / GENOVA

GENome Organisation Visual Analytics
GNU General Public License v3.0
70 stars 15 forks source link

C-scan error #322

Open ianikim opened 1 year ago

ianikim commented 1 year ago

Hi, thanks a lot for the wonderful software! I used C-scan to find E-P contests,but I encountered an error :Error in if (n > 0) c(NAinteger, -n) else integer() : missing value where TRUE/FALSE needed
The lines :anch <- anchors_CSCAn(WT_10kb_hic$IDX, attr(WT_10kb_hic, "resolution"), bedlist = list(bed,bed)) cscan <- CSCAn(list(WT_10kb_hic), anchors = anch) Could you help me with this? Thank you very much! ianikim

teunbrand commented 1 year ago

Hi there, I don't have enough information to reproduce the error, so I don't know how to fix it. However, from glancing at your code, it seems like you're using the same bed data.frame twice in bedlist = list(bed,bed). This seems more appropriate for PESCAn instead of CSCAn.

ianikim commented 1 year ago

Hi, thanks a lot! One bed isTSS.bed,another is H3K4me1.bed ianikim