Description Usage Arguments Value Examples
Retrieve information about the phenotypes of the genetic system
1 | getPhenotypes(genopheno, equivalent = "phase", hideNoncanonical = TRUE)
|
genopheno |
a genopheno object containing all information about a genetic system. |
equivalent |
argument determining which genotypes are to be treated as equivalent. Possible options are "phase" (genotypes that differ only by phase are equivalent, i.e. the order of alleles within a locus does not matter), "origin" (phase is important but not the origin of alleles), and "none" (no two genotypes are equivalent). |
hideNoncanonical |
if this argument is set to TRUE (the default value), genotypes involving sex chromomal linkage groups that normally cannot arise (e.g., complete lack of an allele at an X-linked locus) are not displayed. If this argument is set to FALSE, even these noncanonical genotypes will be displayed. |
A dataframe in which rows represent genotypes (given by row names), and columns represent traits.
1 2 3 4 | MendelsPeas <- newGenopheno(nloci = 1, alleleNames = list(c('Y', 'y')))
MendelsPeas <- setPhenotypes(MendelsPeas, 'colour', 'Y_', 'yellow')
MendelsPeas <- setPhenotypes(MendelsPeas, 'colour', 'yy', 'green')
getPhenotypes(MendelsPeas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.