Learn R Programming

pedgene (version 3.9)

quadfactor: 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)

Value

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

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

Author

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

See Also

pedgene, kinship