importPED: Import a Ped/Map filepair.

Description Usage Arguments Details Value Author(s)

Description

This function imports a ped/map filepair.

Usage

1
2
  importPED(file, n, snps, which, split = "\t| +", sep = ".",
            na.strings = "0", lex.order = FALSE, verbose=TRUE)

Arguments

file

The ped filename.

n

Number of observations to import.

snps

The map file name.

which

A set of SNPs to import.

split

Column separator in ped/map filepair.

sep

Allele separator.

na.strings

Label for missing data.

lex.order

Logical, shall the data be ordered

verbose

Logical, gives verbose feedback

Details

This function is to a large extend taken from snpStat::read.pedmap, but here is internally the data.table::fread function used that resulted in much faster file processing.

Value

A PedMap object

Author(s)

Daniel Fischer



Search within the GenomicTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.