Skip to contents

Remove outliers samples detected by the detect_outliers_POMA function

Usage

remove_POMA_outliers(se, poma_res_outliers)

Arguments

se

SummarizedExperiment containing all necessary information of the proteomics data set

poma_res_outliers

Outliers data.table returned by the detect_outliers_POMA function

Value

filtered SummarizedExperiment object

Examples

data(tuberculosis_TMT_se)
poma_res <- detect_outliers_POMA(tuberculosis_TMT_se)
#> Condition of SummarizedExperiment used!
#> Warning: some squared distances are negative and changed to zero
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
#> Scale for colour is already present.
#> Adding another scale for colour, which will replace the existing scale.
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
tuberculosis_TMT_se <- remove_POMA_outliers(tuberculosis_TMT_se, poma_res$outliers)
#> No outlier samples detected! Hence, no samples were removed.