Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in g$grobs[[legend]]: no such index at level 2, when calling peaks #2168

Open
nansne opened this issue May 31, 2024 · 7 comments
Open
Labels
bug Something isn't working

Comments

@nansne
Copy link

nansne commented May 31, 2024

I encountered this error during call peaking, while the call peaking process has been completed.
However, I got an error message that says "Error in g$grobs[[legend]]: no such index at level 2".
and ggplot2 had been installed.
image
Has anyone encountered this situation before? Please advise,Thank you very much

@nansne nansne added the bug Something isn't working label May 31, 2024
@rcorces
Copy link
Collaborator

rcorces commented May 31, 2024

Hi @nansne! Thanks for using ArchR! Lately, it has been very challenging for me to keep up with maintenance of this package and all of my other
responsibilities as a PI. I have not been responding to issue posts and I have not been pushing updates to the software. We are actively searching to hire
a computational biologist to continue to develop and maintain ArchR and related tools. If you know someone who might be a good fit, please let us know!
In the meantime, your issue will likely go without a reply. Most issues with ArchR right not relate to compatibility. Try reverting to R 4.1 and Bioconductor 3.15.
Newer versions of Seurat and Matrix also are causing issues. Sorry for not being able to provide active support for this package at this time.

@KaiLi-2324
Copy link

Hi, @nansne Did you solve the problem? I encountered the same error.

@lzj1769
Copy link

lzj1769 commented Jul 16, 2024

This is related to the plotting function called by addReproduciblePeakSet

You can set plot = FALSE to avoid this error.

proj <- addReproduciblePeakSet(
    ArchRProj = proj, 
    groupBy = "Sample", 
    cutOff = 0.01,
    pathToMacs2 = pathToMacs2,
    plot = FALSE
)

At least, this worked for me.

@zqfang
Copy link

zqfang commented Aug 28, 2024

I had the same issue with addDoubletScores, but after installing ggplot2 v3.4.2, it worked for me.

@MYNong123
Copy link

I had the same issue with addDoubletScores, but after installing ggplot2 v3.4.2, it worked for me.

Your answer was helpful to me!

@zjsyj
Copy link

zjsyj commented Dec 16, 2024

this issue is related to a function named ".fixPlotSize" in VisualizeData.R

a variable named "gl" make the plots produce no results

@zjsyj
Copy link

zjsyj commented Dec 16, 2024

this issue is related to a function named ".fixPlotSize" in VisualizeData.R

a variable named "gl" make the plots produce no results

oops, I didn't see the merge request when posting this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants