<div dir="ltr">Dear list,<div><br></div><div>I'm having problems adding points to a dapc scatter plot.</div><div><br></div><div><div>grp = find.clusters(human_DR_bind_2[1:200,])</div><div>dapc1 <- dapc(human_DR_bind_2[1:200,],grp$grp)</div><div>pred.sup <- predict.dapc(dapc1, newdata=x.sup2)</div><div>names(pred.sup)</div><div>scatter(dapc1, cell=2.5, pch=1, cstar=0, axesel=FALSE, col=c(2,3,4))</div><div>par(xpd=T)</div><div><div>points(pred.sup$ind.scores[,1],pred.sup$ind.scores[,2],pch = 2,col = 6)</div></div></div><div><br></div><div>the problem is that the predicted points are "all" visible, but completely out of placement.</div><div><br></div><div>when plotting the dapc1$ind.scores[,1],dapc1$ind.scores</div><div><br></div><div>plot(dapc1$ind.scores[,1],dapc1$ind.scores)<br></div><div><div>points(pred.sup$ind.scores[,1],pred.sup$ind.scores[,2],pch = 2,col = 6)</div></div><div><br></div><div><br></div><div>the alligment seems fine.</div><div><br></div><div>thanks for any help on this matter</div><div><br></div><div>BR</div><div><br></div><div>Andres</div></div>