plot.qtl {qtl} | R Documentation |
Plot the locations of the QTL against a genetic map
## S3 method for class 'qtl': plot(x, chr, horizontal=FALSE, shift=TRUE, show.marker.names=FALSE, alternate.chrid=FALSE, ...)
x |
An object of class "qtl" , as produced by
makeqtl . |
chr |
Vector specifying which chromosomes to plot. (The chromosomes must be specified by name.) If missing, all chromosomes are plotted. |
horizontal |
Specifies whether the chromosomes should be plotted horizontally. |
shift |
If TRUE, shift the first marker on each chromosome to be at 0 cM. |
show.marker.names |
If TRUE, marker names are included. |
alternate.chrid |
If TRUE and more than one chromosome is plotted, alternate the placement of chromosome axis labels, so that they may be more easily distinguished. |
... |
Passed to plot.map . |
Creates a plot, via plot.map
, and indicates the
locations of the QTL in the input QTL object, x
.
None.
Karl W Broman, kbroman@biostat.wisc.edu
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 <- sim.geno(fake.f2, n.draws=2, step=2, err=0.001) qtl <- makeqtl(fake.f2, qc, qp, what="draws") plot(qtl)