generate.data {qdg}R Documentation

Generate graph data for examples

Description

Generate data for individual examples. These are utility routines to

illustrate the examples. They are not meant for users per se.

Usage

generate.data(cross, bp, bq, stdev, allqtl)
generate.data.graph.a(cross, burnin, bq, bp, stdev, geno)
generate.data.graph.b(cross, burnin, bq, bp, stdev, geno)
generate.data.graph.c(cross, burnin, bq, bp, stdev, geno)
generate.data.2or3(cross, bp, bq, stdev, allqtl)
produce.qtl.sample(cross, n.phe, nqtl = 3)

Arguments

cross object of class cross; see read.cross
bp vector or matrix of coefficients for dependencies between phenotypes; see cyclic and acyclic examples
bq vector or matrix of coefficients for QTL effects on phenotypes; see cyclic and acyclic examples
stdev vector of standard deviations per phenotype
allqtl list of objects of class qtl produced by produce.qtl.sample
burnin number of burnin cycles for MCMC; default is 2000
geno genotypes at markers, typically extracted with pull.geno
n.phe number of phenotypes
nqtl number of QTL

See Also

acyclic, cyclica, cyclicb, cyclicc

Examples

## Not run: 
example(acyclic)
example(cyclica)
example(cyclicb)
example(cyclicc)
## End(Not run)

[Package qdg version 1.0.0 Index]