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")

One way is to increase the outer margins of plot.

tcgaCompare(maf = laml, primarySite = TRUE)

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.