Entering edit mode

7 weeks ago

mthm
▴
40

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?