I have data that look like this in a 365*804 matrix:
Sample Variant1 Variant2 Variant3
Person1 1/0 0/0 1/1
Person2 0/1 1/1 0/0
Person3 0/0 0/0 0/0
I want to see if any Variants are significantly associated with each other. By that I mean, if you see one how likely are you to see another? The possible values are either (0/0, 1/0, 0/1 or 1/1) with 1/0 and 0/1 being the same thing. If weighting is possible, 1/0 and 0/1 should be worth half what 1/1 is. I would prefer to do this in R.