YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
520 stars 112 forks source link

Error in Pmap[, 1] : subscript out of bounds #49

Open Shicheng-Guo opened 3 years ago

Shicheng-Guo commented 3 years ago

Any idea to this error?

Error in Pmap[, 1] : subscript out of bounds

> CMplot(pval, plot.type="m", LOG10=FALSE, ylim=NULL, threshold=thr,threshold.lty=c(1,2),
+        threshold.lwd=c(1,1), threshold.col=c("black","grey"), amplify=TRUE,bin.size=1e6,
+        chr.den.col=c("darkgreen", "yellow", "red"), signal.pch=c(19,19),file="jpg",
+        memo=phecode,dpi=100,file.output=TRUE,verbose=TRUE,width=14,height=6, cex=.3,
+        signal.cex = .3, main=phecode)
Error in Pmap[, 1] : subscript out of bounds
YinLiLin commented 3 years ago

please check if 'pval' is a dataframe with at least 4 columns