Closed rbutleriii closed 2 years ago
I did find a workaround that makes it work when x11 is unavailable:
# plot qqs and manhattans
options(bitmapType='cairo')
CMplot(fh, file.output=TRUE, file="jpg", plot.type=c("m","q"), conf.int=T,
threshold=c(1e-5, 5e-8), threshold.col=c("grey", "black"),
threshold.lty=c(2,1), dpi=300, main=paste(outname,"Lambda:", lambda.fh),
highlight=SNPs, highlight.text=SNPs, highlight.col=NULL, memo=outname)
Thanks for the question and the solution for this issue.
Hi,
Working on a cluster, and the CMPlot call gives the following warning:
Is there a way to pass this as a grob to ggsave so I can use
type=cairo
?