akdess / CaSpER

78 stars 28 forks source link

Error in if (abs(loglik[i] - loglik[i - 1]) < 0.1 || loglik[i] < loglik[i - : missing values where TRUE/FALSE values are required #58

Open wqy399 opened 3 years ago

wqy399 commented 3 years ago

When runCasper, I got this erro: Error in if (abs(loglik[i] - loglik[i - 1]) < 0.1 || loglik[i] < loglik[i - : missing values where TRUE/FALSE values are required. Would you please help me to fugure out?

wqy399 commented 3 years ago

10 genomics data was used.

Troyee13 commented 3 years ago

Yes I 'm also facing this same problem. Please suggest.

Gonysh commented 2 years ago

Me too

hongjianjin commented 2 years ago

I used bulk data. Had exact same error. But able to run toy example successfully. After checking my code, I found that colnames(data) don't match loh.name.mapping$loh.name . That solved my problem like this.