Specie | R Documentation |
Mean to mimic a in silico Genomes. It is the machine instances of the simulator.
Object of R6 class that points to C++ objetcs.
Objects of R6 class with methods to mimic in silico Genomes.
.ptr
External pointer to the instance of the C++ class Specie.
new()
Create an instance of a Specie.
.R_Specie_ctor$new(ptr)
ptr
an Smart pointer to an instance of a Specie C++ class.
A new 'Specie' object.
print()
Print/Show an instance of the Specie class.
.R_Specie_ctor$print(...)
...
further arguments to be passed to print.
founder()
Constructor of a Founder Instances of the Specimen Class
.R_Specie_ctor$founder(code)
code
a length one character vector with one of the genotype codes: "AA", "Aa", "aA" or "aa".
gamete()
Generate gamete prototypes for this specie.
.R_Specie_ctor$gamete(n)
n
an integer number with the number of gametes prototype to be generated.
a vector of strings with the gamete prototypes.
map()
Retrieve the map of the current specie.
.R_Specie_ctor$map()
a data.frame with the map of the specie.
clone()
The objects of this class are cloneable with this method.
.R_Specie_ctor$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.