Learn R Programming

qgg (version 1.1.2)

predict_r2_st: Expected R2 for single trait prediction of a continuous trait

Description

Computes the expected R2 value for the single trait prediction of a continuous trait.

Usage

predict_r2_st(h2x, Nx, Me, M)

Value

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

Arguments

h2x

Heritability of the target trait.

Nx

Number of samples for the target trait.

Me

Number of independent chromosome segments.

M

Number of markers.