Rdocumentation
powered by
Learn R Programming
pedgene (version 1.2)
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)
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
See Also
pedgene, kinship