selection: Selection (functional factory)

View source: R/selection.R

selectionR Documentation

Selection (functional factory)

Description

produces a function for the selection. This function performs the following" 1. for a set of synonymous sequences predicts the mRNA stability with @param stability_predictor 2. Using the selection criterion @param optimization selects the fittest individual

Usage

selection(stability_predictor, optimization = TRUE)

Arguments

stability_predictor

mRNA stability preditor: takes as input a dna sequence and produces a predicted stability (decay rate)

optimization

logical: True for optimization (more stable sequence) and False for deoptimization (more unstable sequence)

Value

function, selector function that take as input: This function contains the following arguments: syn_daughters character: synonymous sequences to evaluate (only for output function) current_iteration integer: current iteration (only for output function)


santiago1234/iCodon documentation built on Nov. 2, 2023, 2:03 p.m.