row.summary {snpMatrix} | R Documentation |
These function calculates summary statistics of each row or column of
call rates and heterozygosity for each row of a an
object of class "snp.matrix"
or "X.snp.matrix"
row.summary(object) col.summary(object)
object |
genotype data as a snp.matrix-class or X.snp.matrix-class object |
row.summary |
returns a data frame with rows corresponding to rows of the input object
and with columns/elements:
|
col.summary |
returns a data frame with rows corresponding to columns of the input object
and with columns/elements:
"X.snp.matrix" , the following
additional columns are returned:
|
The current version of row.summary
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) cs <- col.summary(Autosomes) summary(cs) cs <- col.summary(Xchromosome) summary(cs)