Description Usage Arguments Value Author(s)
function for AIC/Deviance calculation given index of deleted SNPs
1 | AIC(case.sub, ctl.sub, lib.sub, lib.sub.names, deleted.snps, ref = "NA")
|
case.sub |
case subjects, two columns for two haplotypes |
ctl.sub |
control subjects, two columns for two haplotypes |
lib.sub |
the alleles library contains allele sequences for those only appear in the case and control samples |
lib.sub.names |
the corresponding names of the alleles |
deleted.snps |
a vector of positions of deleted SNPs |
ref |
allele names for the reference level, the default reference level (ref="NA") is the most common allelels |
logLK |
log-likelihood |
AIC |
AIC |
res |
the result object return from GLM |
dev |
deviance |
df |
degree of freedom |
dev.null |
deviance for null model |
df.null |
degree of freedom for null model |
Xin Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.