Rectangular-Manhattan Plotting device failed error
I have experienced the error below when I run the example code using bayes results with hibayes package.
data <- cbind(map[, 1:3], (1 - fit[["pip"]])) chr5 <- data[data[, 2] == 5, ]
visualize the results
CMplot(chr5, plot.type = "m", width = 9, height = 5, threshold = 0.01,
- ylab = expression(-log[10](1 - italic(PIP))), LOG10 = TRUE,
- amplify = FALSE)
Rectangular-Manhattan Plotting (1 - fit[["pip"]]). Error in jpeg(paste("Rectangular-Manhattan.", taxa[i], ".jpg", sep = ""), : unable to start jpeg() device Ek olarak: Warning messages: 1: In jpeg(paste("Rectangular-Manhattan.", taxa[i], ".jpg", sep = ""), : unable to open file 'Rectangular-Manhattan.(1 - fit[["pip"]]).jpg' for writing 2: In jpeg(paste("Rectangular-Manhattan.", taxa[i], ".jpg", sep = ""), : opening device failed
Try to output PDF file by adding a parameter CMplot(..., file="pdf").