I'm making up my own notation here because I don't know the standard notation (but I would love help with the notation too):
Let $x // z$ denote $x$ residualized for $z$. The fraction of explained variance $R^2$ in $x$ explained by $z$ is the ratio of $var_z(x)/var(x)$, where $var_z(x) = var(x) - var(x//z)$. Here, $var_z(x)$ is in some sense the total explained variance of $x$ by $z$ (whereas $R^2$ is the fraction of explained variance). However, since the variance of a variable is just the covariance of the variable with itself, this suggests that we can generalize explained variance to "explained covariance" by defining $cov_z(x, y) = cov(x, y) - cov(x//z, y//z)$, which can further be turned into a sort of "$z$-correlation" through $r_{xy\leftarrow z}=\frac{cov_z(x, y)}{\sqrt{var_z(x)var_z(y)}}$.
I'm familiar with the concept of genetic correlation. Is the quantity $r_{xy\leftarrow z}$ analogous to genetic correlations? For instance, if $z$ is a person's genes, is the $z$-correlation the genetic corelation? (In the use-cases I have in mind, $z$ is not actually genes, but I'm asking because I'm interested in something analogous to genetic correlation for other domains. $z$ should be thought of as being multidimensional, as otherwise this all becomes rather trivial.)
If it is analogous to genetic correlation, are there any better ways of estimating it than just directly computing the expressions I wrote above? Further, are there more-standard names for these things, and resources on how to compute the error bounds on the estimates available anywhere?
I've tried computing it in two ways. First, by just using standard least squares linear regression. This appeared to work about the way one would expect, but I'm asking here because it's probably unwise to just go with the statistical tools without understanding them properly. Secondly, since I was worried about overfitting, I tried residualizing the variables in a leave-one-out manner. However, this frequently yielded $z$-correlations that were much higher than $1$ or much lower than $-1$. Is there a better approach for residualization than these two?