insilicoindividualargs | R Documentation |
insilicoindividualargs
class.Constructor function for the insilicoindividualargs
class, with default values for the parameters if not provided by the user.
insilicoindividualargs( ngenevariants = 5, qtleffect_samplingfct = function(x) { truncnorm::rtruncnorm(x, a = 0, b = Inf, mean = 1, sd = 0.1) }, initvar_samplingfct = function(x) { truncnorm::rtruncnorm(x, a = 0, b = Inf, mean = 1, sd = 0.1) } )
ngenevariants |
Integer. Number of alleles existing for each gene and segregating in the in silico population. Default value is 5. |
qtleffect_samplingfct |
Function from which is sampled the value of a QTL effect coefficient (input x is the required sample size). Default value is a truncated normal distribution with mean 1 and sd 0.1 (only gives positive values). |
initvar_samplingfct |
Function from which is sampled the variation of the initial abundance of a species (input x is the required sample size). Default value is a truncated normal distribution with mean 1 and sd 0.1 (only gives positive values). |
An object of the class insilicoindividualargs
, that is a named list of the different parameters.
indargs = insilicoindividualargs(ngenevariants = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.