#' @title Generate a two-parent RIL pedigree which starts from inbred founders
#'
#' @description
#' Generate a two-parent RIL pedigree which starts from inbred founders
#'
#' @param populationSize The size of the generated population
#' @param selfingGenerations Number of generations of selfing. Specifying one generation leads to an F2 design.
#' @return An object of class \code{detailedPedigree} representing the experimental design, suitable for simulation using simulateMPCross.
#' @export
rilPedigree <- function(populationSize, selfingGenerations)
{
return(twoParentPedigree(initialPopulationSize = populationSize, selfingGenerations = selfingGenerations, intercrossingGenerations = 0, nSeeds = 1))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.