constrain_R2: Constrain R2

constrain_R2R Documentation

Constrain R2

Description

R2 is calculated by var(G)/2p(1-p), where G is dosage genotype and p is allele frequency. Variants with 1<R2<=1.1 are constrained to 1. Variants with R2>1.1 (marked as .) are recommended to remove.

Usage

constrain_R2(R2)

Arguments

R2

R-square

Value

Constrained R2


Yi-Jiang/MethyGenotyper documentation built on Sept. 4, 2024, 12:47 p.m.