Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/summary.genotype.R
summary.genotype
creates an object containing allele and
genotype frequency from a genotype
or haplotype
object. print.summary.genotype
displays a
summary.genotype
object.
1 2 3 4 |
object, x |
an object of class |
... |
optional parameters. Ignored by |
maxsum |
specifying any value for the parameter
maxsum will cause |
round |
number of digits to use when displaying proportions. |
Specifying any value for the parameter maxsum
will cause fallback
to summary.factor
. This is so that the function
summary.dataframe
will give reasonable output when it contains a
genotype column. (Hopefully we can figure out something better to do
in this case.)
The returned value of summary.genotype
is an object of class
summary.genotype
which
is a list with the following components:
locus |
locus information field (if present) from |
.
allele.names |
vector of allele names |
allele.freq |
A two column matrix with one row for each allele, plus one row for
|
genotype.freq |
A two column matrix with one row for each genotype, plus one row for
|
print.summary.genotype
silently returns the object x
.
Gregory R. Warnes greg@warnes.net
genotype
,
HWE.test
,
allele
,
homozygote
,
heterozygote
,
carrier
,
allele.count
locus
gene
marker
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.