Description Usage Arguments Details Examples
These are internal qtlbim routines that are made visible in the namespace for technical use.
1 2 3 4 5 6 7 8 9 10 11 | covar.mean(qbObject, adjust.covar, verbose = FALSE, pheno.col)
pull.grid(qbObject, offset, spacing, mask.region, cross, step,
off.end, stepwidth, drop.duplicates, ...)
pull.loci(cross, step, off.end, stepwidth, region)
qb.cross(qbObject, genoprob = TRUE, ...)
qb.cross.class(qbObject)
qb.demo()
qb.get(qbObject, element, pheno.col, warn = TRUE, ...)
qb.load(cross, qbObject, dir, file)
qb.save(cross, qbObject, dir, Name)
qb.reorder(qbObject, warn = FALSE, pheno.col)
|
qbObject |
Object of class |
adjust.covar |
Adjustments to covariates. Default is
|
verbose |
Verbose mode if |
cross |
Object of class |
offset |
Offset by first marker if |
step |
Argument to |
off.end |
Argument to |
stepwidth |
Argument to |
drop.duplicates |
Drop duplicate chr.pos after roundoff if |
region |
Argument to |
genoprob |
Compute genotype probabilities with
|
spacing |
Add columns for |
mask.region |
Subset genome regions if |
element |
Character string for element of |
pheno.col |
Numeric or character identifier for phenotype. Useful eventually for multiple traits. |
warn |
Warn user if |
dir |
Character string name of directory for load if |
file |
Character string name of file for load if |
Name |
Character string name of suffix for save if |
... |
Additional arguments. |
These are all internal routines. But some may be useful beyond.
qb.demo
is called in demo(qb.tour)
and provides an
interactive selection of the R/qtlbim
demos.
qb.cross
extracts the cross
object associated with
qbObject
. qb.get
is the internal main routine for
extracting information from a qbObject
. As stated elsewhere,
currently qbObject
refers to objects that are critical to it
but not part of it: the cross
object used to create it and the
MCMC samples in files in output.dir
.
covar.mean
finds covariate means or adjusts them to
user-supplied values.
pull.grid
pulls the grid of pseudomarkers from the cross
object associated with qbObject
. The option spacing
determines whether this is in a format similar to
scanone
(FALSE
) or
scantwo
(TRUE
). It is used qb.get
when accessing external MCMC sample files and by several other
routines that require pseudomarker information, notably genotype
probabilities.
qb.reorder
is called by qb.mcmc
to create
pointers to reorder the MCMC samples so that chromosome numbers and
positions within chromosomes are in increasing order. It creates the
subset
element of a qb
object.
qb.save
and qb.load
are depricated. They were used to
save and retrieve MCMC
samples used in examples and vignettes. We now use
save
and data
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(qbExample)
covar.mean(qbExample)
qb.get(qbExample, "output.dir")
summary(qb.cross(qbExample))
temp <- qb.get(qbExample, "iterdiag")
dim(temp)
names(temp)
## Not run:
## The following should have no effect.
qbExample <- qb.reorder(qbExampleb)
## You can call the following rather than demo() to get a tour.
qb.demo()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.