Learn R Programming

XHWE (version 1.0)

ped: A Standard Linkage Pedigree File

Description

The first 5 columns give the pedigree id, individual id, father id (0 if founder), mother id (0 if founder), and sex (1=male, 2=female, 0=unknown), in that order. Note that these fields need to be numeric. The 6th column is the affection status (1 = unaffected, 2 = affected). From the 7th column, every consecutive two columns are the alleles at a SNP marker. For males, these two alleles at a SNP marker are the same, because males have only one X chromosome.

Usage

data("ped")

Arguments

Format

A data frame with 1000 observations on the following 10 variables.
FamID
The pedigree id.
IID
The individual id.
FID
The father id.
MID
The mother id.
gender
The sex of the individual.
Status
The affection status.
SNP1_1
The allele at a SNP1 marker.
SNP1_2
The allele at a SNP1 marker.
SNP2_1
The allele at a SNP2 marker.
SNP2_2
The allele at a SNP2 marker.

Details

The first 5 columns give the pedigree id, individual id, father id (0 if founder), mother id (0 if founder), and sex (1=male, 2=female, 0=unknown), in that order. Note that these fields need to be numeric. The 6th column is the affection status (1 = unaffected, 2 = affected). From the 7th column, every consecutive two columns are the alleles at a SNP marker. For males, these two alleles at a SNP marker are the same, because males have only one X chromosome.

Examples

Run this code
data(ped)

Run the code above in your browser using DataLab