dot-remove_mad_outliers: remove_mad_outliers

.remove_mad_outliersR Documentation

remove_mad_outliers

Description

detects outliers in the selected channel(s) using MAD (mean absolute deviation).

Usage

.remove_mad_outliers(
  flow_frame,
  channels = "Event_length",
  n_mad = 2,
  mad_f = mad,
  plot = TRUE,
  center = "center",
  main = "",
  ...
)

Arguments

flow_frame

A flowframe that contains cytometry data.

channels

character, channel names used for gating, default is set to "Event_length".

n_mad

numeric, how many MAD should be use to detect outliers

mad_f

function used to compute deviation, default set to "mad"

plot

logicle, if to plot the data, default TRUE

center

the centre: defaults to the median

main

character, title of the plot, default set to ""

...

other arguments to pass plotDens

Value

matrix with the selected cells


prybakowska/CytoQP documentation built on June 28, 2022, 12:36 a.m.