optimizer | R Documentation |
Genetic algorithm for mRNA stability optimization
optimizer(
sequence_to_optimize,
specie = "human",
n_iterations = 15,
make_more_optimal = T,
mutation_Rate = 0.4,
max_abs_val = Inf,
n_Daughters = 3,
random_seed = 123
)
sequence_to_optimize |
character, coding DNA sequence from start codon to stop codon |
specie |
character, species |
n_iterations |
integer, number of evolution iterations |
make_more_optimal |
logical, If true the sequence is optimized, if false |
mutation_Rate |
double, number of mutation to introduce at each iteration given as a probability (1 = max (mutate all positions), 0 = min (no mutations)) |
max_abs_val |
A maximum value (absolute value) such that the sequences cannot go beyond that value. Infinite is used as default, in this case there is not a limit for the sequences |
n_Daughters |
integer, number of child sequences to explore at each iteration |
random_seed |
integer, random seed for getting reproducible results |
a [tibble][tibble::tibble-package], the best sequence at each iteration
suppressMessages(optimizer(test_seq, n_iterations = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.