| addtoqtl | R Documentation | 
Add a QTL or multiple QTL to a qtl object.
addtoqtl(cross, qtl, chr, pos, qtl.name, drop.lod.profile=TRUE)
cross | 
 An object of class   | 
qtl | 
 The qtl object to which additional QTL are to be added.  | 
chr | 
 Vector indicating the chromosome for each new QTL. (These should be character strings referring to the chromosomes by name.)  | 
pos | 
 Vector (of same length as   | 
qtl.name | 
 Optional user-specified name for each new QTL, used in the
drop-one-term ANOVA table in   | 
drop.lod.profile | 
 If TRUE, remove any LOD profiles from the object.  | 
An object of class qtl, just like the input qtl object,
but with additional QTL added.  See makeqtl for
details.
Karl W Broman, broman@wisc.edu
makeqtl, fitqtl,
dropfromqtl, replaceqtl,
reorderqtl 
data(fake.f2)
# take out several QTLs and make QTL object
qc <- c(1, 6, 13)
qp <- c(25.8, 33.6, 18.63)
fake.f2 <- calc.genoprob(fake.f2, step=2, err=0.001)
qtl <- makeqtl(fake.f2, qc, qp, what="prob")
qtl <- addtoqtl(fake.f2, qtl, 14, 35)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.