View source: R/add_model_tmas.R
extract_component_tma | R Documentation |
A helper function for add_model_tmas. Extracts apparent melting temperatures from individually-predicted sigmoids from model fits. Uses maximum of dRFU to do this.
extract_component_tma(
data,
component_names = c("sigmoid_1", "sigmoid_2", "sigmoid_3"),
...
)
data |
a tibble, as returned by add_model_preds(). |
component_names |
the names of the components from which to extract Tmas. Defaults to c("sigmoid_1", "sigmoid_2", "sigmoid_3"). Components listed but not found in data are silently ignored. |
... |
additional arguments, passed to get_drfu_tmas. Also serves the purpose of allowing irrelevant arguments passed from upstream functions using ... to be ignored. |
a tibble containing two columns, "which_value", a character defining which of the input component_names the Tma corresponds to, and "tma", the tma value determined using get_drfu_tmas. Note that the tmas will be for the x vector to which the models were fit, which in the standard workflow, is "Temperature_norm". Conversion to real temperatures currently is handled outside of the fitting workflow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.