gap-internal {gap} | R Documentation |
These are internal functions.
PARn calculates population attributable risk (PAR) for a list of frequencies and relative risks (RRs).
a2g gives allele-to-genotype conversion.
g2a returns two alleles according to a genotype identifier.
g2a.c is the C version of g2c.
gc.control() is used by gc.em().
gcode is as a2g.
grec2g is undocumented.
hap.control() is used by hap.em().
hap.score.glm, hap.score.podds are used by hap.score().
is.miss is undocumented.
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.
m2plem is an experimental function for PLEM format.
micombine is used to combine imputation results.
plem2m is also experimental for PLEM format.
revhap recovers the allele indices for a given haplotype ID in a multiallelic system.
revhap.i is similar to revhap.
toETDT a function used to experiment with ETDT.
ungcode recovers alleles from genotype(s).
a2g(a1,a2) g2a(g) g2a.c(g) KCC(model,GRR,p1,K) revhap(loci,hapid)
a1 |
Allele 1 |
a2 |
Allele 2 |
g |
A genotype identifier |
model |
One of "multiplicative", "additive", "recessive", "dominant", "overdominant" |
GRR |
Genotype relative risk |
p1 |
Frequency of the risk allele |
K |
Prevalence of disease in the population |
loci |
A vector of number of alleles at all loci |
hapid |
Haplotype identifier |
These functions are not so frequently called by users