nform {colocPropTest} | R Documentation |
Helper function to adjust LD parameter r for differential sample size between snps
Description
Estimate the r between effect estimates at snps which were genotyped on different sets of cases and controls. The adjusted r will be nform(...) * r (where r is the population correlation between snps).
Usage
nform(n0a, n1a, n0b, n1b, n0ab = pmin(n0a, n0b), n1ab = pmin(n1a, n1b))
Arguments
n0a |
number of controls with data at snp a |
n1a |
number of cases with data at snp a |
n0b |
number of controls with data at snp b |
n1b |
number of cases with data at snp b |
n0ab |
number of controls with data at both snps a and b |
n1ab |
number of cases with data at both snps a and b |
Value
proportionality constant that depends on sample size.
[Package colocPropTest version 0.9.1 Index]