alleLoader: Data loading of nuclear families (in .ped format)

Description Usage Arguments Value References Examples

Description

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

Usage

1
2
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

1
2
3
4
5
6
7
8
9
## 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)

alleHap documentation built on May 1, 2019, 8:08 p.m.