Problem in plotting graph or Graphics Device in the RStudio
1
0
Entering edit mode
5 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 • 224 views
0
Entering edit mode
5 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).

0
Entering edit mode

Thank you very much