Learn R Programming

ctl (version 1.0.0-2)

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)

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.

Value

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

Details

TODO

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

References

TODO

See Also

Examples

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