| dropfromqtl | R Documentation | 
Drop a QTL or multiple QTL from a QTL object
dropfromqtl(qtl, index, chr, pos, qtl.name, drop.lod.profile=TRUE)
| qtl | A qtl object, as created by  | 
| index | Vector specifying the numeric indices of the QTL to be dropped. | 
| chr | Vector indicating the chromosome for each QTL to drop. | 
| pos | Vector (of same length as  | 
| qtl.name | Vector specifying the names of the QTL to be dropped. | 
| drop.lod.profile | If TRUE, remove any LOD profiles from the object. | 
Provide either chr and pos, or one of qtl.name or
index.
The input qtl object with the specified QTL omitted.   See makeqtl for
details on the format.
Karl W Broman, broman@wisc.edu
makeqtl, fitqtl,
addtoqtl, 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 <- subset(fake.f2, chr=qc)
fake.f2 <- calc.genoprob(fake.f2, step=2, err=0.001)
qtl <- makeqtl(fake.f2, qc, qp, what="prob")
newqtl <- dropfromqtl(qtl, chr=1, pos=25.8)
altqtl <- dropfromqtl(qtl, index=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.