PoisonAlien / trackplot

Generate IGV style locus tracks from bigWig files in R
139 stars 16 forks source link

track_plot issues #35

Open murali0123 opened 4 months ago

murali0123 commented 4 months ago

Hi, using my bw file I was able to do these

read bw file

bigWigs = read_coldata("NIST8398_20240612.hard-filtered.baf.bw", build = "hg38")

Region to plot

oct4_loci = "chr6:31125776-31144789"

Extract bigWig signal for a loci of interest

t = track_extract(colData = bigWigs, loci = oct4_loci)

But this generated the following error and did not generate a plot

track_plot(summary_list = t)

Error in seq.default(dt$ord_req, dt$ord_req + dt$n_tracks - 1, 1) : 
  'from' must be of length 1

I am using Mac Sonoma, and using hg38 build. It appears that all track_plot calls in the examples seem to generate the same error. Could you please help?

PoisonAlien commented 4 months ago

Hi,

It's hard to guess the issue. Would it be possible to share the object t? Save it as an RDs file and attach it here.