Learn R Programming

ctl (version 1.0.0-10)

QTLmapping: QTLmapping - QTL mapping method for CTL analysis

Description

Internal QTL mapping method used by the CTL analysis, associates every column in the genotypes with a single phenotype

Usage

QTLmapping(genotypes, phenotypes, phenocol = 1, verbose = TRUE)

Value

vector of LOD scores for each genotype column, for phenotype column phenocol

Arguments

genotypes

Matrix of genotypes. (individuals x markers)

phenotypes

Matrix of phenotypes. (individuals x phenotypes)

phenocol

Which phenotype column(s) should we analyse. Default: Analyse a single phenotype.

verbose

Be verbose.

Author

Danny Arends Danny.Arends@gmail.com
Maintainer: Danny Arends Danny.Arends@gmail.com

Details

TODO

  • NOTE: Slow approach, it is adviced to use your own QTL mapping data

References

TODO

See Also

  • CTLscan - Main function to scan for CTL

  • CTLscan.cross - Use an R/qtl cross object with CTLscan

  • CTLsignificant - Significant interactions from a CTLscan

  • plot.CTLscan - Plot the CTL curve for a single trait

Examples

Run this code
  library(ctl)
  data(ath.metabolites) # Arabidopsis Thaliana dataset
  qtldata <- QTLmapping(ath.metab$genotypes, ath.metab$phenotypes, phenocol = 23)
  plot(qtldata)         # Plot the results of the QTL scan for the phenotype

Run the code above in your browser using DataLab