Skip to content

[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
@jiadalidu

Description

@jiadalidu

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 -->

Additional Context

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: RIssues in the R package. R包中的错误或问题bug: fixedBug fixed in latest update. 此错误已在最新更新中解决

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions