Skip to contents

normalize data by log2 and robust scaling

Usage

normalize_log2_robscale(pdata, config)

Arguments

pdata

data.frame

config

AnalysisConfiguration

Value

list with data.frame (data) and updated config (config)

Examples


bb <- sim_lfq_data_peptide_config(Nprot = 100)
#> creating sampleName from fileName column
#> completing cases
#> completing cases done
#> setup done
xx <- normalize_log2_robscale(bb$data, bb$config)
#> Column added : log2_abundance
#> Joining with `by = join_by(sampleName, isotopeLabel, protein_Id, peptide_Id)`
xx$config$workIntensity
#> [1] "abundance"            "log2_abundance"       "transformedIntensity"