Description Usage Arguments Value
Add linkage group to genetic system
1 2 | addLinkageGroup(genopheno, nloci = 1, nalleles = rep(2, nloci),
alleleNames = "standard", rec = NULL, type = "autosomal")
|
genopheno |
genopheno object specifying the genetic setup. |
nloci |
The number of loci. The default value is 1 but any (reasonable) number can be chosen. |
nalleles |
The number of alleles for each locus. This should be a vector of length |
alleleNames |
The names for the alleles at the different loci.
The default value is 'standard', which for biallelic loci produces allele names 'a' and 'A' for the first locus, 'b' and 'B' for the second locus etc.
If one locus has more than two alleles, 'standard' produces allele names a0, a1, a2; b0, b1, b2 etc.
For other allele names, |
rec |
A vector of length |
type |
This parameter specifies the ploidy and inheritance for the loci. The default value is "autosomal" and currently, this is also the only supported type of linkage group. |
An object of class genopheno
that stores all of the specifications provided about the genetic setup
and that can then be extended to also include other linkage groups and corresponding phenotypes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.