visualize correlation among samples

plot_sample_correlation(pdata, config)

Arguments

pdata

data.frame

config

AnalysisConfiguration

Examples


istar <-sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> Warning: no nr_children column specified in the data, adding column nr_children and setting to 1.
#> completing cases

config <- istar$config
analysis <- istar$data

analysis <- remove_small_intensities(analysis, config)
analysis <- transform_work_intensity(analysis, config, log2)
#> Column added : log2_abundance
mm <- tidy_to_wide_config(analysis, config, as.matrix = TRUE)
class(plot_sample_correlation(analysis, config))
#> [1] "list"
plot_sample_correlation(analysis, config)