calc_Sigma: Calculate the phenotypes covariance matrix Sigma

View source: R/calc_Sigma.R

calc_SigmaR Documentation

Calculate the phenotypes covariance matrix Sigma

Description

Calculate the phenotypes covariance matrix Sigma

Usage

calc_Sigma(Vg, Ve, kinship = NULL, n_mouse = nrow(kinship))

Arguments

Vg

d by d genetic covariance matrix for the d phenotypes

Ve

d by d error covariance matrix for the d phenotypes

kinship

optional n by n kinship matrix. if NULL, Vg is not used.

n_mouse

number of subjects

Value

dn by dn covariance matrix


qtl2pleio documentation built on April 26, 2026, 1:06 a.m.