Extract statistics from imputation rules
These functions extract key characteristics of regression-based
imputation rules stored as an object of class
"ImputationRules". imputation.maf extracts the minor
allele frequencies of the imputed SNPs and imputation.r2 extracts
the prediction R^2.
can.impute(rules) imputation.maf(rules) imputation.r2(rules) imputation.nsnp(rules)
rules |
An object of class |
can.impute returns a logical vector identifying which
rules allow a valid imputation.
imputation.maf and imputation.r2 extract the
minor allele frequencies of the imputed SNPs and the R^2 for
prediction achieved when building each rule. imputation.nsnp
returns the numbers of SNPs used in each imputation
Either a logical vector, or a numeric vector containing the extracted values
David Clayton dc208@cam.ac.uk
# These functions are currently defined as function (rules) sapply(rules, function(x) x$maf) function (rules) sapply(rules, function(x) x$r2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.