SimCrossCausal: Simulate cross object for CMST example

Description Usage Arguments

Description

This simulates a cross object with 3 phenotypes where y1 has a causal effect on both y2 and y3. See vignette for details.

Usage

1
2
3
SimCrossCausal(n.ind, len, n.mar, beta, add.eff, dom.eff, sig2.1 = 1,
  sig2.2 = 1, eq.spacing = FALSE, cross.type = c("bc", "f2"),
  normalize = FALSE)

Arguments

n.ind

number of individuals

len

length(s) of chromosome(s)

n.mar

markers per chromosome

beta

causal effect(s) (slope(s)) of y1 on the other phenotypes

add.eff, dom.eff

additive and dominance effects

eq.spacing

use equal marker spacing if TRUE

cross.type

cross type (only "bc" and "f2" implemented)

normalize

use normal scores if TRUE

sig.1, sig.2

residual variances for y1 and other responses


byandell/CausalMST documentation built on May 13, 2019, 9:26 a.m.