hibayes icon indicating copy to clipboard operation
hibayes copied to clipboard

Rectangular-Manhattan Plotting device failed error

Open zcebeci opened this issue 3 years ago • 1 comments

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

zcebeci avatar Aug 11 '22 11:08 zcebeci

Try to output PDF file by adding a parameter CMplot(..., file="pdf").

YinLiLin avatar Aug 12 '22 02:08 YinLiLin