Learn R Programming

rJPSGCS (version 0.2-10)

exdat: example data for rJPSGCS

Description

Example data, comprised of simulated genotypes for 10 SNPs on the same chromosome, for five unrelated individuals, along with a genetic map for the SNPs. The fifth subject has missing genotypes at SNPs 3 and 4.

Usage

data(exdat)

Arguments

Format

A list with the following elements:

$markers a numeric matrix of SNP genotypes coded as 0, 1 or 2 copies of an index allele
$map a numeric vector containing the genetic map positions for the SNPs in centiMorgans

Examples

Run this code
# NOT RUN {
data(exdat)
# }

Run the code above in your browser using DataLab