YinLiLin / hibayes

:swimmer: Individual-Level, Summary-Level and Single-Step Bayesian Regression Models for Genomic Prediction and Genome-Wide Association Studies
GNU General Public License v3.0
46 stars 7 forks source link

Rectangular-Manhattan Plotting device failed error #15

Open zcebeci opened 2 years ago

zcebeci commented 2 years ago

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

YinLiLin commented 2 years ago

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