Hey Kevein, thanks this is making a lot of sense once I plotted data. I don't know why but it always seemed incorrect to look at correlations in this way but you're right and I definitely get it now.
Also, your linear model at the end is interesting. I'm pretty new to linear models used in this way so please let me know if I understand this correctly.
y = beta*x + bias_constant + epsilon
where y is the gene expression value from continuous, beta is the coefficient multiplied against x which is either 0 or 1 depending on the phenotype, bias_constant is the y intercept, and episilon is some normally distributed error. The fit for the model measured by R^2 is the pearson correlation between the 2 vectors squared?
I've seen R^2 that are between -1 and 1. How would the negative R^2 values be computed in this way?
Thanks again.