Closed Avramis closed 1 month ago
Thanks Avraam. This is a smart fix as it returns NA
if either:
clustering_result$all.assignment.likelihoods
) is NA
, orclustering_result$all.assignment.likelihoods
has length > 1 but every element of it is NA
Otherwise (i.e. clustering_result$all.assignment.likelihoods
can be any length as long as at least one element is NOT NA
), it continues into the conditional code.
Response to Issue with !is.na #23. Commit change in line 138 in file ./R/SampleMutations.R to return TRUE or FALSE instead of a vector of logical value that can cause the code to break
It would be advisable to look into the rest of the !is.na cases in the code (lines 20, 84, )