OR(odd ratio) for risk_allele

Description

OR(odd ratio) for risk_allele.

Usage

1
OR(case_allele1, case_allele2, control_allele1, control_allele2)

Arguments

case_allele1

a non-negative integer, the frequency of allele1 in case samples.

case_allele2

a non-negative integer, the frequency of allele2 in case samples.

control_allele1

a non-negative integer, the frequency of allele1 in control samples.

control_allele2

a non-negative integer, the frequency of allele2 in control samples.

Details

The odds ratio is a measure of effect size, describing the strength of association or non-independence between two binary data values.

Value

risk_allele

risk_allele(OR>1).

OR

the value of OR.

CI

a matrix with one row, the 0.95 CI(Confidence Interval) of OR: lower limit OR, upper limit OR.

Author(s)

Lanying Zhang and Yongshuai Jiang <jiangyongshuai@gmail.com>

References

Edwards, A.W.F.(1963): The measure of association in a 2x2 table.

See Also

OR.TradPerm, OR.MCPerm, Armitage, Armitage.TradPerm, Armitage.MCPerm, chisq.test, chisq.TradPerm, chisq.MCPerm, fisher.test, fisher.TradPerm, fisher.MCPerm, meta, meta.TradPerm, meta.MCPerm, permuteGenotype, rhyper, permuteGenotypeCount, genotypeStat

Examples

1
2
3
4
5
# case_allele1=23
# case_allele2=34
# control_allele1=26
# control_allele2=29
# OR(case_allele1, case_allele2, control_allele1, control_allele2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.