anastomosis | R Documentation |
Combine two gametes into a diploid individual
anastomosis(hap1, hap2)
hap1 |
A vector encoding the genotype of a haploid individual (0,1). |
hap2 |
A vector encoding the genotype of a haploid individual (0,1). |
A vector encoding the genotype of a diploid individual (0,1,2).
hap1<-rbinom(1000,1,0.5)
hap2<-rbinom(1000,1,0.5)
anastomosis(hap1,hap2,replace=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.