Learn R Programming

paramlink (version 0.8-3)

linkres: S3 methods for class 'linkres'.

Description

Functions for printing, summarizing and plotting the results of a linkage analysis.

Usage

## S3 method for class 'linkres':
print(x, ...)

## S3 method for class 'linkres':
summary(object, threshold=NULL, ...)

## S3 method for class 'linkres':
plot(x, chrom=NULL, ylim = NULL, ...)

Arguments

x, object
a linkres object (normally produced by lod or merlin).
threshold
NULL, or a positive real number. In the latter case the summary will include the percentage of simulated markers whose LOD score exceeds this number.
chrom
NULL, or a numeric containing chromosome numbers. In the latter case only results for the markers on the indicated chromosomes will be plotted.
ylim
NULL, or a numeric of length 2: to be passed on to plot.default.
...
further arguments.

See Also

lod, merlin

Examples

Run this code
data(toyped)
x = linkdat(toyped, model=1)
lods = lod(x, theta="max")
summary(lods)

Run the code above in your browser using DataLab