R/expandedProbabilities.R

Defines functions expandedProbabilitiesFinite expandedProbabilitiesInfinite

expandedProbabilitiesInfinite <- function(nFounders, r, nFunnels, intercrossingGenerations)
{
	if(!(nFounders %in% c(2, 4, 8, 16))) stop("Input nFounders must be one of 2, 4, 8, or 16")
	.Call("expandedProbabilitiesInfinite", nFounders, r, nFunnels, intercrossingGenerations, PACKAGE="mpMap2")
}
expandedProbabilitiesFinite <- function(nFounders, r, nFunnels, intercrossingGenerations, selfingGenerations, phased)
{
	if(!(nFounders %in% c(2, 4, 8, 16))) stop("Input nFounders must be one of 2, 4, 8, or 16")
	.Call("expandedProbabilitiesFinite", nFounders, r, nFunnels, intercrossingGenerations, selfingGenerations, phased, PACKAGE="mpMap2")
}

Try the mpMap2 package in your browser

Any scripts or data that you put into this service are public.

mpMap2 documentation built on Sept. 13, 2020, 5:17 p.m.