PomaOutliers: Analyse and Remove Statistical Outliers

View source: R/PomaOutliers.R

PomaOutliersR Documentation

Analyse and Remove Statistical Outliers

Description

PomaOutliers analyses and removes statistical outliers from the data.

Usage

PomaOutliers(
  data,
  method = "euclidean",
  type = "median",
  coef = 2,
  labels = FALSE
)

Arguments

data

A SummarizedExperiment object.

method

Character. Indicates the distance measure method to perform MDS.

type

Character. Indicates the type of outlier analysis to perform. Options are "median" (default) and "centroid". See vegan::betadisper.

coef

Numeric. Indicates the outlier coefficient. Lower values are more sensitive to outliers while higher values are less restrictive about outliers.

labels

Logical. Indicates if sample names should to be plotted.

Value

A list with the results.

Author(s)

Pol Castellano-Escuder

Examples

data("st000336")

# clean outliers
st000336 %>% 
  PomaImpute() %>%
  PomaNorm() %>%
  PomaOutliers()

pcastellanoescuder/POMA documentation built on March 15, 2024, 10:08 p.m.