AIC: AIC/Deviance calculation

Description Usage Arguments Value Author(s)

Description

function for AIC/Deviance calculation given index of deleted SNPs

Usage

1
AIC(case.sub, ctl.sub, lib.sub, lib.sub.names, deleted.snps, ref = "NA")

Arguments

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

Value

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

Author(s)

Xin Huang



Search within the HAP.ROR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.