Skip to contents

Plot intragroup correlation of the normalized data

Usage

plot_intragroup_correlation(
  se,
  ain = NULL,
  condition = NULL,
  method = "pearson"
)

Arguments

se

SummarizedExperiment containing all necessary information of the proteomics data set

ain

Vector of strings which assay should be used as input (default NULL). If NULL then all normalization of the se object are plotted next to each other.

condition

column name of condition (if NULL, condition saved in SummarizedExperiment will be taken)

method

String specifying the method for correlation calculation (pearson, spearman or kendall)

Value

ggplot object (boxplot)

Examples

data(tuberculosis_TMT_se)
plot_intragroup_correlation(tuberculosis_TMT_se, ain = NULL,
                            condition = NULL, method = "pearson")
#> All assays of the SummarizedExperiment will be used.
#> Condition of SummarizedExperiment used!