Problem in plotting graph or Graphics Device in the RStudio
1
0
Entering edit mode
7 weeks ago

Hello Everyone. I'm trying to plot an Enrichissement graphic via "TCGAanalyze_EAcomplete" But when I run, nothing shows up. The console displays "null device 1" Please anyone could hepl me to fix this error. Thank you very much. below is the script I used

TCGAvisualize_EAbarplot(tf = rownames(ansEA$ResBP), GOBPTab = ansEA$ResBP, GOCCTab = ansEA$ResCC, GOMFTab = ansEA$ResMF, PathTab = ansEA$ResPat, nRGTab = Genelist, nBar = 10)

And I get the error : null device 1 ```

R NullDevice plot • 231 views
ADD COMMENT
0
Entering edit mode
7 weeks ago
Papyrus ★ 1.7k

The function is generating and saving the plot as a PDF file in your working directory, instead of showing it to you. If you want the plot in R, you have to change the filename argument to filename = NULL. (see the manual).

ADD COMMENT
0
Entering edit mode

Thank you very much

ADD REPLY

Login before adding your answer.

Traffic: 1709 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