Description Usage Arguments Details Author(s) See Also Examples
Takes best model per trait and builds a matrix of 1-D scans.
1 2 3 4 5 | make.bestscan(cross, best, pattern, scan.type = "BIM",
cross.name = deparse(substitute(cross)),
maps = get(paste(cross.name, "maps", sep = ".")),
trait.annotation = get(paste(cross.name, "traitnames", sep = ".")),
attenuate = 1, tolerance = 1e-05, verbose = TRUE)
|
cross |
Object created by |
best |
Data frame with trait name as first column and
|
pattern |
Data frame with trait name as first column,
and columns for |
scan.type |
Type of scan as character string. |
cross.name |
Name of cross object as character string. |
maps |
Object of class |
trait.annotation |
Annotation object for traits. |
attenuate |
Degree of attenuation of peaks. |
tolerance |
Tolerance level (drop scans below this level). |
verbose |
Show steps if |
This converts results from an object that has the best pattern per trait to a matrix with 1-D scans, one trait per row. This is meant to be saved for use in multtrait, ideally filtered through a web page.
The best
object has one row per
QTL for each trait; traits with no QTL can be included with NA
for chrom
and locus
. Other columns in best will depend on
the method of construction, but the last column should contain a
QTL-specific score, which is used for plotting. For instance, using
qb.best from suggested package R/qtlbim includes a column for the posterior
probability for that QTL (n.qtl
), and a last column with the
QTL-explained variance
.
The pattern
object is constructed as best as possible from
best
if not provided. The trait.annotation
, created with
read.annotation
, is used for trait positions if provided
(see aug.scanone
).
The attenuate
determines the degree of attenuation down from
peak. Default is an exponential decay corresponding to genetic linkage
in cM.
Brian S. Yandell
read.cross
, read.maps
,
read.annotation
1 2 3 4 | ## Not run:
tissue.bestscan <- make.bestscan(cross, tissue.best, tissue.pattern)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.