powered by
This function generalises markerSimParametric() in the same way that profileSim() generalises markerSim().
markerSimParametric()
profileSim()
markerSim()
profileSimParametric( kappa = NULL, delta = NULL, states = NULL, N = 1, afreqList = NULL, seed = NULL, returnValue = c("singletons", "alleles", "genotypes") )
A probability vector of length 3, giving a set of realised kappa coefficients (between two noninbred individuals).
A probability vector of length 9, giving a set of condensed identity coefficients (Jacquard coefficients).
An integer vector of length N, with entries in 1-9. Each entry gives the identity state of the corresponding marker. (See details.)
N
A positive integer: the number of complete profiles to be simulated
A list of numeric vectors. Each vector is the allele frequencies of a marker.
NULL, or a numeric seed for the random number generator.
Either "singleton" (default) or "alleles". (see Value).
A list of length N, whose entries are determined by returnValue, as explained in markerSimParametric().
returnValue
# NOT RUN { # A single profile with 9 markers, each with forced identity state profileSimParametric(states = 1:9, afreqList = NorwegianFrequencies[1:9]) # }
Run the code above in your browser using DataLab