Deleted:how to draw more than one regression line for a plot of dissimilarity matrices
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"

enter image description here

Is it possible to draw another regression line on top of the main cloud for the smaller patch with yellow core?

abline distance genetic R geographic • 314 views
This thread is not open. No new answers may be added
Traffic: 2451 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6