Learn R Programming

qtl2pleio (version 1.2.3)

sim1: Simulate a single data set consisting of n subjects and 2 phenotypes for each

Description

Simulate a single data set consisting of n subjects and 2 phenotypes for each

Usage

sim1(X, B, Vg, Ve, kinship)

Arguments

X

design matrix (incorporating genotype probabilities from two loci), dn by df

B

a matrix of allele effects, f rows by d columns

Vg

a genetic covariance matrix, d by d

Ve

an error covariance matrix, d by d

kinship

a chromosome-specific kinship matrix, n by n