You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that facetsSuite::ccf_annotate_maf fails when in a couple of cases (purity=NA, no mutations in the maf) with an identical uninformative error:
Error in if (is.na(total_copies)) { : argument is of length zero Calls: <Anonymous> -> [ -> [.data.table -> expected_mutant_copies Execution halted
It would be helpful if instead we got a message about facets not being able to estimate a purity, having 0 mutations etc and that the program would either fail with an error or return an unannotated maf
The text was updated successfully, but these errors were encountered:
ndfriedman
changed the title
small improvement: more informative error handling for cases with purity=NA
small improvement: more informative error handling for facetsSuite::ccf_annotate_maf
Jan 10, 2020
I've noticed that facetsSuite::ccf_annotate_maf fails when in a couple of cases (purity=NA, no mutations in the maf) with an identical uninformative error:
Error in if (is.na(total_copies)) { : argument is of length zero Calls: <Anonymous> -> [ -> [.data.table -> expected_mutant_copies Execution halted
It would be helpful if instead we got a message about facets not being able to estimate a purity, having 0 mutations etc and that the program would either fail with an error or return an unannotated maf
The text was updated successfully, but these errors were encountered: