View source: R/handle-outliers.r
ewaff.handle.outliers | R Documentation |
Handle outliers
ewaff.handle.outliers(
methylation,
method = c("iqr", "winsorize"),
iqr.limit = 3,
winsorize.pct = 0.05
)
methylation |
DNA methylation matrix, one row per CpG site, one column per sample. |
method |
The method for handling outliers. Options are 'iqr' (default) and 'winsorize'.
The 'iqr' option sets observations beyond a user-defined mutliple of the inter-quartile
( |
iqr.limit |
The multiple of IQR beyond which observations should be set to NA. Default is 3. |
winsorize.pct |
The percentile used for winsorizing observations. Default is 0.05. |
List containing the methylation matrix with outliers modified depending on the method selected, and a log of how many observations were identified for each probe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.