get_drfu_tmas: Calculate apparent melting temperatures using first...

View source: R/get_drfu_tmas.R

get_drfu_tmasR Documentation

Calculate apparent melting temperatures using first derivative

Description

Calculate apparent melting temperatures using first derivative

Usage

get_drfu_tmas(
  data,
  .x_vec = "Temperature",
  .y_vec = "drfu_norm",
  .n_interp = 50,
  .n_points_either_side = 1,
  ...
)

Arguments

data

a tibble for a single dataset containing temperature and dRFU (first derivative) as columns

.x_vec

name of the column containing temperature data

.y_vec

name of the column containing dRFU data

.n_interp

a number, giving the number of points to appear in the interpolation. Passed to stats::approx. Defaults to 50.

.n_points_either_side

a number, giving the number of points on either side of the dRFU maximum to carry forward into interpolation. Default is 1, which gives a three-point range for linear interpolation..

...

Allows any irrelevant arguments that might have been passed from upstream functions using ... to be ignored. This is relevant when det_drfu_tmas might be included in a larger analysis workflow which makes use of ...

Value

a number; the interpolated maximum of the dRFU data


taiawu/dsfworld_package documentation built on June 18, 2024, 5:39 a.m.