GreenleafLab / ArchR

ArchR : Analysis of Regulatory Chromatin in R (www.ArchRProject.com)
MIT License
387 stars 140 forks source link

plotMarkerHeatmap: nLabel = 0 will result in an error #2216

Open huyulan-funan opened 1 month ago

huyulan-funan commented 1 month ago

I don't want to show the task marker (peak information) on the side when drawing. Please help me. The code and error are as follows:

heatmapPeaks <- plotMarkerHeatmap(

  • seMarker = markersPeaks,
  • cutOff = "Pval <= 0.05 & Log2FC >= 1",
  • plotLog2FC = TRUE,
  • labelMarkers = NULL,
  • nLabel = 0,
  • transpose = FALSE
  • ) ArchR logging to : ArchRLogs/ArchR-plotMarkerHeatmap-66c8f5f5498-Date-2024-10-12_Time-11-51-35.log If there is an issue, please report to github with logFile! Identified 79665 markers! character(0) Preparing Main Heatmap..

2024-10-12 11:51:40 : ERROR Found in .ArchRHeatmap for
LogFile = ArchRLogs/ArchR-plotMarkerHeatmap-66c8f5f5498-Date-2024-10-12_Time-11-51-35.log

<simpleError in class<-(unlist(lapply(x, as.unit), recursive = FALSE), c("unit", "unit_v2")): attempt to set an attribute on NULL>


Error in .logError(e, fn = ".ArchRHeatmap", info = "", errorList = errorList, : Exiting See Error Above

rcorces commented 1 month ago

Hi @huyulan-funan! 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.