| createSimulatedCodeSet {rhoR} | R Documentation | 
Create Simulated codeSet
Description
Creates a simulated codeSet with the given parameters
Usage
createSimulatedCodeSet(
  length,
  baserate,
  kappaMin,
  kappaMax,
  precisionMin,
  precisionMax,
  ...,
  tries = 50
)
Arguments
| length | the length of the simulated  | 
| baserate | |
| 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 | 
Details
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.
Value
A codeSet that fulfills the given parameters