quadfactor: Internal utility to calculate a constant quadratic factor for...

View source: R/quadfactor.R

quadfactorR Documentation

Internal utility to calculate a constant quadratic factor for gene-level statistics variances, over all pedigrees

Description

Internal utility to calculate a constant quadratic factor for gene-level statistics variances over all pedigrees, for either autosomes or X chromosome

Usage

quadfactor(kinmat, chrom, resid, sex, male.dose)

Arguments

kinmat

A kinship matrix for one or more pedigrees

chrom

character string for chromosome number, if "X", the method accounts for sex code

resid

the residual based on the trait minus the group mean or adjusted trait value for each subject

sex

See pedgene

male.dose

See pedgene

Value

Constant quadratic factor for gene-level statistics variances, for autosomes and X chromosome

Author(s)

Daniel J. Schaid, Mayo Clinic (schaid@mayo.edu).

See Also

pedgene, kinship


pedgene documentation built on Oct. 18, 2022, 9:07 a.m.