Learn R Programming

statgenIBD (version 1.0.9)

summary.IBDprob: Summary function for objects of class IBDprob

Description

Prints a short summary for objects of class IBDprob. The summary consists of the population type, number of evaluation points, number of individuals and names of the parents in the object.

Usage

# S3 method for IBDprob
summary(object, ...)

Value

No return value, a summary is printed.

Arguments

object

An object of class IBDprob.

...

Not used.

Examples

Run this code
## Compute IBD probabilities for Steptoe Morex.
SxMIBD <- calcIBD(popType = "DH",
                  markerFile = system.file("extdata/SxM", "SxM_geno.txt",
                                          package = "statgenIBD"),
                  mapFile = system.file("extdata/SxM", "SxM_map.txt",
                                        package = "statgenIBD"))

## Print summary
summary(SxMIBD)

Run the code above in your browser using DataLab