GreenleafLab / ArchR

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

plotbrowsertrack error when setting the features #1566

Closed yamihn closed 2 years ago

yamihn commented 2 years ago

hello, I'm encountering this error when plotting the browser track: p <- plotBrowserTrack( ArchRProj = hope_sub_new, groupBy = "Clusters_kowt", features = head(markerList_C1_ko[[1]],1), ) ArchR logging to : ArchRLogs/ArchR-plotBrowserTrack-f3c11afb3a-Date-2022-08-14_Time-14-12-28.log If there is an issue, please report to github with logFile! 2022-08-14 14:12:28 : Validating Region, 0.002 mins elapsed. Error in .validGRanges(region) : !is.null(gr) is not TRUE

This is the content of the feature: head(markerList_C1_ko[[1]],1) GRanges object with 1 range and 3 metadata columns: seqnames ranges strand | Log2FC FDR MeanDiff

| [1] chr6 30737888-30738388 * | 3.82764 4.50183e-75 0.245463 seqinfo: 20 sequences from an unspecified genome; no seqlengths. [ArchR-plotBrowserTrack-f3c64aad811-Date-2022-08-14_Time-14-22-26.log](https://github.com/GreenleafLab/ArchR/files/9333369/ArchR-plotBrowserTrack-f3c64aad811-Date-2022-08-14_Time-14-22-26.log)
rcorces commented 2 years ago

Hi @yamihn! Thanks for using ArchR! Please make sure that your post belongs in the Issues section. Only bugs and error reports belong in the Issues section. Usage questions and feature requests should be posted in the Discussions section, not in Issues.
Before we help you, you must respond to the following questions unless your original post already contained this information: 1. If you've encountered an error, have you already searched previous Issues to make sure that this hasn't already been solved? 2. Can you recapitulate your error using the tutorial code and dataset? If so, provide a reproducible example. 3. Did you post your log file? If not, add it now. 4. Remove any screenshots that contain text and instead copy and paste the text using markdown's codeblock syntax (three consecutive backticks). You can do this by editing your original post.

rcorces commented 2 years ago

Please try to troubleshoot your issues before posting. The error you received is extremely specific. You have not provided a region to be plotted to the region param.