#' doubledeepms__fraction_folded
#'
#' Calculate fraction folded in 2-state model.
#'
#' @param folding_energy folding energies for 2-state model (required)
#' @param RT constant (default:0.001987*(273+24))
#'
#' @return Fraction folded
#' @export
doubledeepms__fraction_folded <- function(
folding_energy,
RT = 0.001987*(273+24)){
return(1/(1+exp(folding_energy/RT)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.