1
$\begingroup$

I have a {maftools} plot:

whatever I try to save that completely I see the down part of plot is trimmed like

enter image description here

I have tried both save as pdf and save as image options which did not differ

Any suggestion please?

Plot comes by this code

tcgaCompare(maf = laml,cohortName = "Cohort",rm_zero = FALSE,decreasing = TRUE,logscale = TRUE,primarySite = TRUE,col = c("grey30", "red"),medianCol = "black")
$\endgroup$
0
2
$\begingroup$

One way is to increase the outer margins of plot.

par(oma=c(7,0,0,0))
tcgaCompare(maf = laml, primarySite = TRUE)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.