Problem in plotting graph or Graphics Device in the RStudio
1
0
Entering edit mode
3.1 years 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 • 2.8k views
ADD COMMENT
0
Entering edit mode
3.1 years ago
Papyrus ★ 3.0k

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: 1649 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