row.summary {snpMatrix} | R Documentation |
This function calculates call rates and heterozygosity for each row of a an
object of class "snp.matrix"
row.summary(object)
object |
genotype data as a snp.matrix-class or X.snp.matrix-class object |
A data frame with rows corresponding to rows of the input object and with columns/elements:
Call.rate |
Proportion of SNPs called |
Heterozygosity |
Proportion of called SNPs which are heterozygous |
The current version does not deal with the X chromosome differently, so that males are counted as homozygous
David Clayton david.clayton@cimr.cam.ac.uk
data(testdata) rs <- row.summary(Autosomes) summary(rs) rs <- row.summary(Xchromosome) summary(rs)