Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addloctocross

Add phenotype location into a cross object


Description

Add phenotype location(s) into a cross object (with eQTL/pQTL studies)

Usage

addloctocross(cross, locations=NULL, locfile="locations.txt", verbose=FALSE)

Arguments

cross

An object of class cross. See read.cross for details.

locations

R variable holding location information

locfile

load from a file, see the details section for the layout of the file.

verbose

If TRUE, give verbose output

Details

inputfile layout: Num Name Chr cM 1 X3.Hydroxypropyl 4 50.0 Num is the number of the phenotype in the cross object Name is the name of the phenotype (will be checked against the name already in the cross object at position num Chr Chromosome cM position from start of chromosome in cM

Value

The input cross object, with the locations added as an additional component locations

Author(s)

Ritsert C Jansen; Danny Arends; Pjotr Prins; Karl W Broman broman@wisc.edu

See Also

Examples

## Not run: 
    data(multitrait)
    data(locations)
    multiloc <- addloctocross(multitrait,locations)
    results <- scanall(multiloc)
    mqmplot.cistrans(results, multiloc, 5, FALSE, TRUE)
  
## End(Not run)

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.