"SnpMatrix"
or "XSnpMatrix"
row.summary(object)
col.summary(object, rules = NULL, uncertain = TRUE)
SnpMatrix-class
or
XSnpMatrix-class
object"ImputationRules"
. If
supplied, the rules coded in this object are used, together with
the snp genotype data in
object
, to generate imputed SNPs. The column summary of these
imputed data are then returnedTRUE
uncertain genotypes are used in
calculation of allele and genotype frequencies (by scoring as
posterior expectations). Otherwise, and for Hardy-Weinberg tests,
they are ignoredB
) frequency
"XSnpMatrix"
, the following
additional columns are returned:
data(testdata)
rs <- row.summary(Autosomes)
summary(rs)
cs <- col.summary(Autosomes)
summary(cs)
cs <- col.summary(Xchromosome)
summary(cs)
Run the code above in your browser using DataLab