powered by
pir_params
Create a number of standard pir_params
create_std_pir_paramses( n, folder_name = rappdirs::user_cache_dir(), rng_seed = 314, crown_age = 10, sequence_length = 1000, mutation_rate = 1/crown_age, os = rappdirs::app_dir()$os )
a list or pir_params, dubbed a pir_paramses. Use check_pir_paramses to check this list for validity.
pir_paramses
number of pir_params
name of the main folder
a random number generator seed
the fixed crown age of the posterior. Set to NA to let it be estimated
the length of each DNA sequence in an alignment
the mutation rate per base pair per time unit. Use check_mutation_rate to check if a mutation rate is valid.
name of the operating system, can be mac, unix or win. Use check_os if the operating system is valid.
mac
unix
win
# \donttest{ pir_paramses <- create_std_pir_paramses(n = 2) check_pir_paramses(pir_paramses) # }
Run the code above in your browser using DataLab