Learn R Programming

paramlink (version 0.2-1)

plot.linkdat: Plot pedigrees with genotypes

Description

Plots a medical pedigree with genotypes for a single marker, or (for power analysis) indicating which individuals are available for genotyping.

Usage

plot.linkdat(x, marker = NULL, alleles=NULL, sep="", missing="-", 
             margins = c(4.1, 1, 4.1, 1), ...)

Arguments

x
a linkdat object.
marker
an integer.
alleles
a character vector with allele names.
sep
a character of length 1 separating alleles for diploid markers.
missing
the symbol (integer or character) for missing alleles.
margins
a numeric of length 4 indicating the plot margins.
...
arguments to plot.pedigree from the kinship package. In particular symbolsize is useful.

Details

Uses the plot.pedigree from the kinship package.

See Also

plot.pedigree

Examples

Run this code
data(toyped)
x=linkdat(toyped)
plot(x, marker=1, alleles=c("a1","a2"), sep="| ")

Run the code above in your browser using DataLab