Problem in plotting graph or Graphics Device in the RStudio
1
0
Entering edit mode
2.5 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.3k views
ADD COMMENT
0
Entering edit mode
2.5 years ago
Papyrus ★ 2.9k

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