tidy_for_tmas: Tidy raw dsf dataframe for tma calculations

View source: R/tidy_for_tmas.R

tidy_for_tmasR Documentation

Tidy raw dsf dataframe for tma calculations

Description

Also adds 0 - 1 range normalizations of temperature and raw data, and the first derivative of the normalizsed raw value.

Usage

tidy_for_tmas(
  df,
  unique_col = "well",
  value_col = "value",
  temp_col = "Temperature",
  keep_cols = c("well", "Temperature", "value", "value_norm")
)

Arguments

df

tibble containing long-form raw dsf data

unique_col

name of the column containing a unique identifier for each dataset. Defaults to "well".

value_col

name of the column containing raw rfu values. Defaults to "value".

temp_col

name of the column containing temperatures. Defaults to "Temperature"

keep_cols

name of all column to keep. Defaults to minimum: "well", "Temperature", "value", and "value_norm"

Value

a nested tibble containig tidied data for downstream tma analyses. Column names are .var (for unique identifier), and data (for the nested data corresponding to each value of .var). Each nested tibble contains numeric columns: Temperature, Temperature_norm, value, value_norm, and drfu_norm.


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