SampleOverlapMatrix {CPBayes} | R Documentation |
An example data of sample-overlap matrices.
Description
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.
Usage
data(SampleOverlapMatrix)
Format
A list consisting of three integer square matrices (each of dimension 5 by 5):
- n11
number of cases shared between all possible pairs of diseases.
- n00
number of controls shared between all possible pairs of diseases.
- n10
number of subjects who are case for one disease and control for another disease.
Examples
data(SampleOverlapMatrix)
n11 <- SampleOverlapMatrix$n11
n11
n00 <- SampleOverlapMatrix$n00
n00
n10 <- SampleOverlapMatrix$n10
n10
estimate_corln(n11,n00,n10)