Description Usage Format Examples
An example data of sample-overlap matrices for five different diseases in the Kaiser GERA cohort (a real data). SampleOverlapMatrix is a list that contains an example of the sample overlap matrices for five different diseases in the Kaiser GERA cohort. SampleOverlapMatrix$n11 provides the number of cases shared between all possible pairs of diseases. SampleOverlapMatrix$n00 provides the number of controls shared between all possible pairs of diseases. SampleOverlapMatrix$n10 provides the number of subjects who are case for one disease and control for another disease.
1 |
A list consisting of three integer square matrices (each of dimension 5 by 5):
number of cases shared between all possible pairs of diseases.
number of controls shared between all possible pairs of diseases.
number of subjects who are case for one disease and control for another disease.
1 2 3 4 5 6 7 8 | data(SampleOverlapMatrix)
n11 <- SampleOverlapMatrix$n11
n11
n00 <- SampleOverlapMatrix$n00
n00
n10 <- SampleOverlapMatrix$n10
n10
estimate_corln(n11,n00,n10)
|
trait1 trait2 trait3 trait4 trait5
trait1 9048 4647 2985 2835 1812
trait2 4647 13565 3873 4245 2419
trait3 2985 3873 14681 6285 2044
trait4 2835 4245 6285 16697 2059
trait5 1812 2419 2044 2059 7121
trait1 trait2 trait3 trait4 trait5
trait1 44683 35765 32987 30821 39374
trait2 35765 40166 29358 27714 35464
trait3 32987 29358 39050 28638 33973
trait4 30821 27714 28638 37034 31972
trait5 39374 35464 33973 31972 46610
trait1 trait2 trait3 trait4 trait5
trait1 0 4401 6063 6213 7236
trait2 8918 0 9692 9320 11146
trait3 11696 10808 0 8396 12637
trait4 13862 12452 10412 0 14638
trait5 5309 4702 5077 5062 0
trait1 trait2 trait3 trait4 trait5
trait1 1.000000000 0.270490702 0.05723195 0.002505875 0.08989408
trait2 0.270490702 1.000000000 0.01601813 0.002744961 0.07849158
trait3 0.057231953 0.016018131 1.00000000 0.155476792 0.01211052
trait4 0.002505875 0.002744961 0.15547679 1.000000000 -0.01824859
trait5 0.089894085 0.078491585 0.01211052 -0.018248589 1.00000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.