Skip to content

error occurred in addReproduciblePeakSet #2316

@YunjieLi22

Description

@YunjieLi22

Bug Report

Description

When using addReproduciblePeakSet with peakMethod = "Tiles", the function fails with error: "argument 1 is not a vector".

Steps to Reproduce

# Reproducible code example
projHeme_HC <- addReproduciblePeakSet(
  ArchRProj = projHeme_HC,
  groupBy = "predicted.id",
  peakMethod = "Tiles",
  cutOff = 0.05,
  force = TRUE
)
Error in order(groupPeaks$normmlogp, decreasing = TRUE) : 
  argument 1 is not a vector
Additionally: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf



#There's an error occured in the process of "addReproduciblePeakSet"

#environment:

- R version: 4.5.1

- ArchR version: 1.0.3

- OS: Windows 11


#log file:

[ArchR-addReproduciblePeakSet-1a038d7c584f-Date-2025-12-12_Time-11-57-45.105045.log](https://github.com/user-attachments/files/24119476/ArchR-addReproduciblePeakSet-1a038d7c584f-Date-2025-12-12_Time-11-57-45.105045.log)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions