Open Axbxh opened 6 months ago
Hi @Axbxh! 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.
Hi @Axbxh! 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.
Hi, rcorces! Thank you for your response. I have installed R 4.1 but BiocManager 1.5 and ArchR package are unavailable for this version.
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("ArchR")
Installing package into ‘C:/Users/Abhira/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘ArchR’ is not available for this version of R
Hi @Axbxh , this could be related to https://github.com/GreenleafLab/ArchR/issues/2150 . Even though createArrowFiles is supposed to continue after plotting fails, I think the error handling is wrongly implemented and that the output is not properly set.
Currently all plots in ArchR break with the new versions of ggplot due to some functions like .fixPlotSize
that convert the ggplot object to... something else for some reason.
You have to downgrade ggplot2 to 3.4.2 and it should work. Or modify yourself ArchR code to remove the plottings.
It’s also possible that another error occurred (for instance wrong type for a parameter that is not checked, like the parameters that are fed through TSSParams). You can’t know for sure because all error reportings were disabled like here or here. A strange choice, but if you manage to uncomment all those message/print in all tryCatch you might be able to understand what’s happening.
ArchR code is very convoluted with multiple intermediate functions dispatched in a lot of files, so unfortunately I haven’t found a way to fix the ggplot issue and send a pull request. On my side when I really need a specific version of ggplot (because of interactions with other single-cell analyses software for instance), I just remove all plotting in ArchR or execute it in its own outdated environment.
Cheers, −Nils
ArchR log file
ArchR-createArrows-73c43a8d3823-Date-2024-05-20_Time-18-57-29.805596.log
Description of the bug
While creating Arrow Files from a fragment_file_name.tsv.gz, I get an error ggplot for Fragment Size Distribution. The message says the following:
Although the log message shown as "Successful creation of Arrow File", I do not find any Arrow files in my home directory. The output is three folders:
Code: To Reproduce
Code I used on Rstudio
Expected behavior
Creation of Arrow File: fragment_file_name.arrow, in the ArchR directory.
ArchR Tutorial Code Link: https://www.archrproject.com/bookdown/creating-arrow-files.html
ArrowFiles
Additional context
Windows specifications of my device: Edition: Windows 10 Home Version: 22H2 Installed on: 1/22/2021 OS build: 19045.4412 Experience: Windows Feature Experience Pack 1000.19056.1000.0 R version R 4.3.3