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",
verbose = NULL
)| object | A valid cypro object. |
|---|---|
| method_outlier | Character vector. Specifies the method/algorithm of interest. Use |
| verbose | Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
An updated version of the input cypro-object.
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.
detectOutliers()