alleLoader {alleHap}R Documentation

Data loading of nuclear families (in .ped format)

Description

The data to be loaded must be structured in .ped format and families must comprise by parent-offspring pedigrees.

Usage

alleLoader(data, invisibleOutput = TRUE, dataSummary = TRUE,
  missingValues = c(-9, -99))

Arguments

data

Data to be loaded.

invisibleOutput

Data are not shown by default.

dataSummary

A summary of the data is shown by default.

missingValues

Specification of the character/numerical values which may be missing.

Value

Loaded dataset.

References

Medina-Rodriguez, N. Santana A. et al. (2014) alleHap: an efficient algorithm to reconstruct zero-recombinant haplotypes from parent-offspring pedigrees. BMC Bioinformatics, 15, A6 (S-3).

Examples


## Loading of a dataset in .ped format with alphabetical alleles (A,C,G,T)
example1 <- file.path(find.package("alleHap"), "examples", "example1.ped")
example1Alls <- alleLoader(example1)
head(example1Alls)

## Loading of a dataset in .ped format with numerical alleles
example2 <- file.path(find.package("alleHap"), "examples", "example2.ped")
example2Alls <- alleLoader(example2)
head(example2Alls)


[Package alleHap version 0.9.9 Index]