read.pedigree: Read pedigree structure from a Plink file

Description Usage Arguments Value Author(s)

View source: R/read.pedigree.R

Description

Extract the pedigree data from a Plink file (in .ped or .bed format). For example, in the case of a .ped file this simply extracts the first four columns from the file.

Usage

1
read.pedigree(type, filename)

Arguments

type

character, 'ped', 'bed': format of the input file (see the filename parameter) containing the pedigree data (and usually the genomic data as well).

filename

character, path to the input file containing the pedigree data.

Value

a data frame containing the columns with pedigree data taken from the input file (i.e. family ID, individual ID, father ID, mother ID)

Author(s)

Lennart C. Karssen


GreenwoodLab/RVPedigree documentation built on May 6, 2019, 6:33 p.m.