Learn R Programming

qgg (version 1.1.2)

predict_r2_mt: Expected R2 for multiple trait prediction of continuous traits

Description

Computes the expected R2 value for the multiple trait prediction of continuous traits.

Usage

predict_r2_mt(h2x, Nx, h2y, Ny, rg, Me, M)

Value

A numeric value representing the expected R2 for the multiple trait prediction.

Arguments

h2x

Heritability of the target trait.

Nx

Number of samples for the target trait.

h2y

Heritability of the correlated trait.

Ny

Number of samples for the correlated trait.

rg

Genetic correlation between the target and correlated trait.

Me

Number of independent chromosome segments.

M

Number of markers.