ctl.load: ctl.load - Load CTLs calculated by the D2.0 version
Description
Load CTLs calculated by the D2.0 version
Usage
ctl.load(genotypes = "ngenotypes.txt", phenotypes = "nphenotypes.txt",
output = "ctlout", from=1, to, verbose = FALSE)
Value
CTLobject, a list with at each index a CTLscan object:
$ctls - Matrix of differential correlation scores for each trait at each marker
$qtl - Vector of QTL lodscores for each marker (if a QTL scan was perfomed -qtl)
$p - Vector of maximum scores per marker obtained during permutations
$l - Matrix of LOD scores for CTL likelihood
Arguments
- genotypes
Original datafile containing the genotypes scanned.
- phenotypes
Original datafile containing the phenotypes scanned.
- output
Directory containing the output files.
- from
Start loading at which phenotype.
- to
Continue loading untill this phenotype.
- verbose
Be verbose.
Examples
Run this code library(ctl) # Load CTL library
Run the code above in your browser using DataLab