Create a comprehensive table of haplin output
haptable(object)
---- A dataframe is returned, with the following columns: ----
Name(s) of marker(s) investigated
A listing of the alleles found at each marker
Frequency counts of alleles at each marker
P-value from Hardy-Weinberg equilibrium test at each marker
Number of triads before removal
Number of triads after removal of missing
Number of triads after removal of Mendelian inconsistencies
Number of triads after removal of unused (rare) haplotypes
Overall likelihood ratio p-value (test of all genetic effects combined)
Haplotypes (or single-marker alleles) found during estimation
Estimated haplotype frequencies
Lower 95% CI for estimated haplotype frequencies
Upper 95% CI for estimated haplotype frequencies
Reference method. If ref.cat is used, the reference category is labeled "ref"
Estimated single dose relative risk
Lower 95% CI for single dose relative risk
Upper 95% CI for single dose relative risk
P-values for individual single dose effect
Estimated double dose relative risk
Lower 95% CI for double dose relative risk
Upper 95% CI for double dose relative risk
P-values for individual double dose effect
When maternal = TRUE, there will be additional columns:
Estimated single dose relative risk for maternal haplotype
Lower 95% CI for single dose relative risk for maternal haplotype
Upper 95% CI for single dose relative risk for maternal haplotype
P-values for individual single dose effect of maternal haplotype
Estimated double dose relative risk for maternal haplotype
Lower 95% CI for double dose relative risk for maternal haplotype
Upper 95% CI for double dose relative risk for maternal haplotype
P-values for individual double dose effect of maternal haplotype
When poo = TRUE, the RR.est., RR.lower, and RR.upper columns will be replaced by the following columns:
Estimated single dose relative risk, when inherited from the mother
Lower 95% CI for single dose relative risk, when inherited from the mother
Upper 95% CI for single dose relative risk, when inherited from the mother
P-values for individual single dose effects, when inherited from the mother
Estimated single dose relative risk, when inherited from the father
Lower 95% CI for single dose relative risk, when inherited from the father
Upper 95% CI for single dose relative risk, when inherited from the father
P-values for individual single dose effects, when inherited from the father
An estimate of parent-of-origin effect, i.e. the ratio RRcm/RRcf
Lower 95% CI for ratio RRcm/RRcf
Upper 95% CI for ratio RRcm/RRcf
P-value for parent-of-origin effect RRcm/RRcf at that marker
A haplin
object, i.e. the result of running haplin
.
Hakon K. Gjessing
Professor of Biostatistics
Division of Epidemiology
Norwegian Institute of Public Health
hakon.gjessing@uib.no
haptable
extracts the most important information from a haplin
object to produce a summary table. The table can then be saved with, for instance, write.table
, making the results easily accessible to other applications. You can also use output
to produce and save the same results.
Web Site: https://haplin.bitbucket.io
haplin
, output
if (FALSE) {
# Produce a table containing the most important output from haplin:
res <- haplin("data.dat", use.missing = T, maternal = T)
haptable(res)
}
Run the code above in your browser using DataLab