KCC: Disease prevalences in cases and controls

View source: R/KCC.R

KCCR Documentation

Disease prevalences in cases and controls

Description

Disease prevalences in cases and controls

Usage

KCC(model, GRR, p1, K)

Arguments

model

disease model (one of "multiplicative","additive","recessive","dominant","overdominant").

GRR

genotype relative risk.

p1

disease allele frequency.

K

disease prevalence in the whole population.

Details

KCC calculates disease prevalences in cases and controls for a given genotype relative risk, allele frequency and prevalencen of the disease in the whole population. It is used by tscc and pbsize2.

Value

A list of two elements:

  • pprime prevlence in cases.

  • p prevalence in controls.


gap documentation built on Sept. 11, 2024, 5:36 p.m.