buenrostrolab/FigR

no plot showing after plotfigRNetwork()

Closed this issue · 2 comments

Hi @vkartha,

I could not get network plot using plotfigRNetwork, and I did not get any error info until saving the plot Error in dev.off() : cannot shut down device 1 (the null device).

Could you help me check if my inputs have any issue?

My command example:

plotfigRNetwork(figR.d,
                score.cut=1,
                DORCs=NULL,
                TFs=c("grhl2a"),
                weight.edges=FALSE,
                TFnodecol='Tomato',
                DORCnodecol='Sky Blue',
                posEdgecol='Forest Green',
                negEdgecol='Purple',
                labelSize=13,
                showLegend=TRUE)

My filtered figR.d

Thank you!

Hi there - so this function specifically will launch an interactive view in your Rstudio session. Can you retry after restarting your rsession, using the same figR.d output? Also since it is interactive, you cannot save it using the usual pdf/jpeg/png + dev.off() commands, you have to save it as an html file that can be viewed in your browser or take a screenshot.

For me to help, can you give me access to the figR.d object you shared above? You can use vinay_kartha@g.harvard.edu, I can take a look.

Thanks, appreciate it

I see! Thank you! The interactive view in Rstudio works.