Learn R Programming

Haplin (version 3.5)

haptable: Create haplin table

Description

Create a comprehensive table of haplin output

Usage

haptable(object)

Arguments

object
A haplin object, i.e. the result of running haplin.

Value

  • A dataframe is returned, with the following columns:
  • OriginalNumber of triads
  • After.rem.NANumber of triads after removal of missing
  • After.rem.Mend..inc.Number of triads after removal of Mendelian inconsistencies
  • After.rem.rare.haplosNumber of triads after removal of rare haplotypes
  • allelesAlleles at each SNP
  • countsFrequency counts for alleles
  • HWE.pvP-value for deviation from HWE
  • haploHaplotypes found during estimation
  • pv.overallOverall p-value
  • hfreq.est.Estimated haplotype frequencies
  • hfreq.lowerLower 95% CI for estimated haplotype frequencies
  • hfreq.upperUpper 95% CI for estimated haplotype frequencies
  • referenceReference method. If ref.cat is used, the reference category is labeled "ref"
  • RR.est.Estimated single dose relative risk
  • RR.lowerLower 95% CI for estimated single dose relative risk
  • RR.upperUpper 95% CI for estimated single dose relative risk
  • RR.p.valueP-values for individual single dose estimates
  • RRdd.est.Estimated double dose relative risk
  • RRdd.lowerLower 95% CI for estimated double dose relative risk
  • RRdd.upperUpper 95% CI for estimated double dose relative risk
  • RRdd.p.valueP-values for individual double dose estimates
  • RRm.est.Estimated single dose relative risk for maternal haplotype
  • RRm.lowerLower 95% CI for estimated single dose relative risk for maternal haplotype
  • RRm.upperUpper 95% CI for estimated single dose relative risk for maternal haplotype
  • RRm.p.valueP-values for individual single dose estimates for maternal haplotype
  • RRmdd.est.Estimated double dose relative risk for maternal haplotype
  • RRmdd.lowerLower 95% CI for estimated double dose relative risk for maternal haplotype
  • RRmdd.upperUpper 95% CI for estimated double dose relative risk for maternal haplotype
  • RRmdd.p.valueP-values for individual double dose estimates for maternal haplotype
  • Note that the results from the maternal haplotype risks will not be present unless maternal = T was used in the haplin call.

Details

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.

References

Web Site: http://www.uib.no/smis/gjessing/genetics/software/haplin/

See Also

haplin, output

Examples

Run this code
# 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