This is the command, I have used for making manhattan circular plot for my gwas file.
Command:
CMplot(all_files,type="p",plot.type="c",chr.labels=paste("Chr",c(1:10),sep=""),r=0.4,cir.legend=TRUE, outward=FALSE,cir.legend.col="black",cir.chr.h=1.3,chr.den.col="black",file="jpg", memo="",dpi=300,file.output=TRUE,verbose=TRUE,width=10,height=10)
output:
(Error in jpeg(paste("Circular-Manhattan.", paste(taxa, collapse = "."), : unable to start jpeg() device).).
Further when I run this command (written in below) suggested by someone, I receive the output as explained below :
command: dev.off() output: Error in dev.off() : cannot shut down device 1 (the null device)
NOTE: There are around 13 p columns of traits (associated with p values) Rectangular plots are working fine but I am only facing this issue while running the script for circular plots. Please suggest me some solution. Thanks!