Description Usage Arguments Value Note Author(s) Examples
These function calculates summary statistics of each row or column of
call rates and heterozygosity for each row of a an
object of class "SnpMatrix"
or "XSnpMatrix"
1 2 | row.summary(object)
col.summary(object, rules = NULL, uncertain = TRUE)
|
object |
genotype data as a |
rules |
An object of class
|
uncertain |
If |
row.summary |
returns a data frame with rows corresponding to rows of the input object and with columns/elements:
Uncertain calls are ignored for calculating the heterozygosity. |
col.summary |
returns a data frame with rows corresponding to columns of the input object and with columns/elements:
For objects of class
|
The current version of row.summary
does not deal with the X chromosome
differently, so that males are counted as homozygous.
David Clayton dc208@cam.ac.uk
1 2 3 4 5 6 7 | data(testdata)
rs <- row.summary(Autosomes)
summary(rs)
cs <- col.summary(Autosomes)
summary(cs)
cs <- col.summary(Xchromosome)
summary(cs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.