Entering edit mode
2.3 years ago
mthm
▴
50
I have created a genetic distance matrix from VCF SNP data and a matrix of geographic distance from x y coordinates, both with function "dist" of R, then I plot them adding two-dimensional Kernel density estimation and added the regression line using "abline"
Is it possible to draw another regression line on top of the main cloud for the smaller patch with yellow core?