View source: R/tidyMS_R6_TransitionCorrelations.R
transform_work_intensity | R Documentation |
Transform intensity
transform_work_intensity(
pdata,
config,
.func,
.funcname = NULL,
intesityNewName = NULL,
deep = FALSE
)
pdata |
data.frame |
config |
AnalysisConfiguration |
.func |
function to transform intensities e.g. log2 |
.funcname |
generates new name from name of transformation and old working intensity column name. |
intesityNewName |
column name for new intensity, default NULL |
data.frame
dd <- prolfqua_data('data_spectronautDIA250_A')
config <- dd$config_f()
analysis <- dd$analysis(dd$data,config)
x <- transform_work_intensity(analysis, config, .func = log2)
stopifnot("log2_FG.Quantity" %in% colnames(x))
config <- dd$config_f()
x <- transform_work_intensity(analysis, config, .func = asinh)
stopifnot("asinh_FG.Quantity" %in% colnames(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.