Hello, I am finding that I cannot change the colours in the SNP-density plot. It always shows the default c("darkgreen", "yellow", "red").
MVP.Report(pig60K[, c(1:3)], plot.type="d", col=c("darkgreen", "yellow", "red"), file.type="jpg", dpi=300)
MVP.Report(pig60K[, c(1:3)], plot.type="d", col=c("green", "yellow", "purple"), file.type="jpg", dpi=300)
Both give the same colours: "darkgreen", "yellow", "red". I have installed rMVP_1.4.6 from CRAN.
Looking at your code, it seems we should be using chr.den.col and not col to define these colours.
This is not shown in the example here: https://github.com/xiaolei-lab/rMVP?tab=readme-ov-file#snp-density-plot
Maybe the example needs to be corrected.
Cheers,
Chris