Nothing
knitr::opts_chunk$set(fig.dpi = 96) knitr::opts_chunk$set(echo = TRUE)
library(BreedingSchemeLanguage)
if (exists("simEnv")){ rm(list=names(simEnv), envir=simEnv) rm(simEnv) }
filePathName <- system.file("extdata", "exampleHapMapFile.hmp", package = "BreedingSchemeLanguage")
hapmap <- readLines(con=filePathName) hapmap[11] <- "" for (i in 1:11) cat(paste(substr(hapmap[i], 1, 83), "..."), "\n")
simEnv <- defineSpecies(loadData=NULL, importFounderHap=filePathName, nChr=5, lengthChr=100, nMarkers=300) initializePopulation()
phenotype() genotype() predictValue() select(nSelect=50) cross(equalContribution=T)
predictValue()
to use markers to enable information sharing across observationsequalContribution
parameter in cross()
ensures that all parents contribute to the same number of progenygenotype() predictValue() select(nSelect=5) cross() cycleMeans <- plotData()
cross()
function serves to evaluate the response to genomic selectionAny scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.