[BUG] Error in if (final_annotations[[cluster_id]] != discussion_results_map[[cluster_id]]) { : 需要TRUE/FALSE值的地方不可以用缺少值 此外: There were 50 or more warnings (use warnings() to see the first 50) [BUG] Error in if (final_annotations[[cluster_id]] != discussion_results_map[[cluster_id]]) { : cannot use NA/NaN/Inf in 'if' comparisons Additionally: There were 50 or more warnings (use warnings() to see the first 50) #5
Open
Description
Bug Description
在计算consensus_results 到最后,会报以下错误:
Error in if (final_annotations[[cluster_id]] != discussion_results_map[[cluster_id]]) { :
需要TRUE/FALSE值的地方不可以用缺少值
此外: There were 50 or more warnings (use warnings() to see the first 50)
请问该如何解决呢?
Reproduction Steps
Expected Behavior
Actual Behavior
Environment Information
- mLLMCelltype Version:
- Language:
- Language Version:
- Operating System:
- Used LLM Models:
Error Messages/Logs
<!-- Please paste any error messages or log output here -->
Additional Context
Possible Solution
Bug Description
At the end of calculating consensus_results, the following error is reported:
Error in if (final_annotations[[cluster_id]] != discussion_results_map[[cluster_id]]) { :
Missing values where TRUE/FALSE needed
Additionally: There were 50 or more warnings (use warnings() to see the first 50)
How can this be resolved?
Reproduction Steps
Expected Behavior
Actual Behavior
Environment Information
-
mLLMCelltype Version:
-
Language:
-
Language Version:
-
Operating System:
-
Used LLM Models:
Error Messages/Logs
<!-- Please paste any error messages or log output here -->