DiffBind: dba.plotProfile(profiles)
0
0
Entering edit mode
@bhanuchandra1-24291
Last seen 11 months ago
United States

With dba.plorProfile function I can calculate the profiles but while plotting, I get the following error:

> profiles <- dba.plotProfile(dbobj, sites=overlaps)  
Generating profiles... 
> dba.plotProfile(profiles)
Plotting...
Error in heatmap_width_pt * raster_quality : 
  non-numeric argument to binary operator

Can anyone help me with this? Thank you in advance.

DiffBind • 1.8k views
ADD COMMENT
0
Entering edit mode

I got the same error while trying to set the maxSites. It would be great if anyone could help here. Thanks in advance

ADD REPLY
1
Entering edit mode

Not really an answer as I don't know really know why , but I also had the same issue and may have found a workaround ! If I set maxSites > 2000 specifically I get this problem. Lowering raster_quality from the generateEnrichedHeatmap function does allow me to plot it (raster_quality is 2 by default and in the description of generateEnrichedHeatmap it says "A value set to larger than 1 will improve the quality of the raster image." ). So what I mean is:

dba.plotpProfile(profiles, raster_quality = 1.5)
ADD REPLY
1
Entering edit mode

Yes, setting raster_quality down is a good way to address this issue. I've taken to using raster_quality=1 in general as I think the plots actually look better as well!

ADD REPLY
0
Entering edit mode

Is there a reasonable upper limit to the amount of sites one can plot using plot.profile? I am trying to plot profiles for a set of 88000 sites but I cannot get it to work even with raster_quality=1. I can generate the profiles just not plot them. I am using a machine with 64 threads and 380 of Gb of memory. Any recommendations for alternatives or methods in order to be able to plot it? Thanks in advance

ADD REPLY

Login before adding your answer.

Traffic: 531 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6