scanSlopes: scanSlopes - Create a slope difference profile between two...

View source: R/ctl.slope.R

scanSlopesR Documentation

scanSlopes - Create a slope difference profile between two traits

Description

Create a slope difference profile between two traits

Usage

scanSlopes(genotypes, phenotypes, phenocol = 1, doRank = FALSE, verbose = FALSE)

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 phenotype 1.

doRank

Transform quantitative data into ranked data before analyzing the slope.

verbose

Be verbose.

Details

TODO

Value

TODO

Note

TODO

Author(s)

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

References

TODO

See Also

  • CTLscan - Main function to scan for CTL

  • CTLsignificant - Significant interactions from a CTLscan

  • CTLnetwork - Create a CTL network from a CTLscan

  • image.CTLobject - Heatmap overview of a CTLscan

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

Examples

  library(ctl)
  data(ath.metabolites)                 # Arabidopsis Thaliana data set

  slopes <- scanSlopes(ath.metab$genotypes, ath.metab$phenotypes[,1:4], phenocol = 2)
  image(1:nrow(slopes), 1:ncol(slopes), -log10(slopes))

ctl documentation built on Nov. 27, 2023, 5:09 p.m.