predict_r2_mt: Expected R2 for multiple trait prediction of continuous...

View source: R/qgg_utility_functions.R

predict_r2_mtR Documentation

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)

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.

Value

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


psoerensen/qgg documentation built on March 9, 2024, 10:02 p.m.