Remove outliers samples detected by the detect_outliers_POMA function
Source:R/FilterSamples.R
remove_POMA_outliers.Rd
Remove outliers samples detected by the detect_outliers_POMA function
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.