11.07.2015 Views

The genetics Package

The genetics Package

The genetics Package

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

40 summary.genotypeArgumentsobject, xan object of class genotype or haplotype (for summary.genotype) oran object of class summary.genotype (for print.summary.genotype)... optional parameters. Ignored by summary.genotype, passed to print.matrixby print.summary,genotype.maxsumroundspecifying any value for the parameter maxsum will cause summary.genotypeto fall back to summary.factor.number of digits to use when displaying proportions.DetailsSpecifying any value for the parameter maxsum will cause fallback to summary.factor. Thisis so that the function summary.dataframe will give reasonable output when it contains agenotype column. (Hopefully we can figure out something better to do in this case.)Value<strong>The</strong> returned value of summary.genotype is an object of class summary.genotype whichis a list with the following components:locuslocus information field (if present) from xallele.names vector of allele namesallele.freq A two column matrix with one row for each allele, plus one row for NA values (ifpresent). <strong>The</strong> first column, Count, contains the frequency of the correspondingallele value. <strong>The</strong> second column, Proportion, contains the fraction of alleleswith the corresponding allele value. Note each observation contains two alleles,thus the Count field sums to twice the number of observations.genotype.freqA two column matrix with one row for each genotype, plus one row for NAvalues (if present). <strong>The</strong> first column, Count, contains the frequency of the correspondinggenotype. <strong>The</strong> second column, Proportion, contains the fractionof genotypes with the corresponding value.print.summary.genotype silently returns the object x.Author(s)Gregory R. Warnes 〈warnes@bst.rochester.edu〉See Alsogenotype, HWE.test, allele, homozygote, heterozygote, carrier, allele.countlocus gene marker

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!