Learn R Programming

synbreed (version 0.10-2)

summary.LDdf: Summary for LD objects

Description

Summary method for class ''LDdf'' and ''LDmat''

Usage

## S3 method for class 'LDdf':
summary(object,...)
## S3 method for class 'LDmat':
summary(object,...)

Arguments

object
object of class LDdf or LDmat which is the output of function pairwiseLD and argument type="data.frame" or type="matrix"
...
not used

Details

Returns for each chromosome: Number of markers; mean, minimum and maximum LD measured as $r^2$; fraction of markers with $r^2>0.2$; maximum distance of markers

See Also

pairwiseLD, ~~~

Examples

Run this code
library(synbreed)
  data(maize)
  maizeC <- codeGeno(maize)
  maizeLD <- pairwiseLD(maizeC,chr=1:10,type="data.frame")
  maizeLDm <- pairwiseLD(maizeC,chr=1:10,type="matrix")
  summary(maizeLD)
  summary(maizeLDm)

Run the code above in your browser using DataLab