View source: R/createSimulatedCodeSet.R
| createSimulatedCodeSet | R Documentation |
Creates a simulated codeSet with the given parameters
createSimulatedCodeSet(
length,
baserate,
kappaMin,
kappaMax,
precisionMin,
precisionMax,
...,
tries = 50
)
length |
the length of the simulated |
baserate |
the |
kappaMin |
the minimum kappa of the simulated |
kappaMax |
the maximum kappa of the simulated |
precisionMin |
the minimum precision of the simulated |
precisionMax |
the maximum precision of the simulated |
... |
Parameters passed to createRandomSet (e.g. type = "set" or type = "ct") |
tries |
the maximum number of tries to generate a valid set, smaller set lengths may require an increased number of tries |
codeSets are generated by first picking a random kappa within its range and a random precision within its range. If the random kappa, random precision, and baserate are not mathematically possible, then the precision is resampled from a range of mathematically possible values within its range. A unique simulated codeSet is then constructed given these parameters.
A codeSet that fulfills the given parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.