synbreed (version 0.12-9)

summary.LDdf: Summary for LD objects

Description

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

Usage

# S3 method for LDdf
summary(object,cores=1,...)
# S3 method for LDmat
summary(object,cores=1,...)

Arguments

object

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

cores

numeric. Specifies the number of cores for parallel computing.

...

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\); average and maximum distance of number of markers

See Also

pairwiseLD, ~~~

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  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