I have a question about statistical tests for dependent data. This will sound a bit strange/extremely naive but pls bear with me- here is my problem formulation:
I have 500 individuals, and I'm interested in statistics on groups of pairs of these individuals. In others words, I've enumerated all pairs of these individuals and separated the pairs into two groups, i.e.:
Group A: pairs of individuals with significant sharing of mutations in a particular gene X (i.e. each pair of individuals has high overlap of mutations in gene X)
Group B: pairs of individuals with no significant sharing of mutations in gene X
Now, I'd like to see whether Group A has higher expression of some gene Y (e.g. 1 is low expression, 1000 is high) compared to Group B. Is there a way to do this?
Obviously the pairs are not independent, so I'm not sure whether it is even possible to formulate the problem this way. In my case, the pairs are the quantities of interest- not the individuals. Each pair only appears in one of the groups, but since I've enumerated all possible pairs, many individuals appear in both groups.
I guess the general question is, what statistics can be performed (if any) between two groups of pairs with respect to some continuous variable? I'm pretty sure this violates the independence of all simple tests (e.g. t-test, wilcoxon, etc) so not sure how to proceed.
Would greatly appreciate any tips. Thanks!