imputation.maf {snpMatrix} | R Documentation |
These functions extract key characteristics of regression-based
imputation rules stored as an object of class
"snp.reg.imputation"
. imputation.maf
extracts the minor
allele frequencies of the imputed SNPs and imputation.r2
extracts
the prediction R^2.
imputation.maf(rules) imputation.r2(rules)
rules |
An object of class "snp.reg.imputation" |
A numeric vector containing the extracted values
David Clayton david.clayton@cimr.cam.ac.uk
snp.reg.imputation-class
,
snp.imputation
# These functions are currently defined as function (rules) sapply(rules, function(x) x$maf) function (rules) sapply(rules, function(x) x$r2)