View source: R/outlier-detection.R
removeOutliers | R Documentation |
Removes the data from the cell ids detected by detectOutliers()
from
the object. As this changes the data set all clustering-, correlation- and dimensional
reduction results are reset.
removeOutliers( object, method_outlier, new_name = "outlier_removed", phase = NULL, verbose = NULL )
object |
A valid cypro object. |
method_outlier |
Character vector. Specifies the method/algorithm of interest. Use |
phase |
Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
Cell are removed via a reversed application of subsetByCellId()
.
You can therefore keep track of conducted outlier removal by using function printSubsetHistory()
which prints summary text on how, when and why you subsetted the cypro object.
An updated version of the input cypro
-object.
detectOutliers()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.