calculateAof: Average Overlap Frequency (AOF).

View source: R/aof.R

calculateAofR Documentation

Average Overlap Frequency (AOF).

Description

Calculate the Average Overlap Frequency (AOF) for a single cytometry channel.

Usage

calculateAof(x, pos_indices, neg_indices = setdiff(seq_along(x), pos_indices),
  width = 0.05, cofactor = NULL)

Arguments

x

Numeric vector corresponding to one channel in cytometry data. Data should be transformed. If not, entering a cofactor will result in data being transformed

pos_indices

Indices of cells positive for this channel.

neg_indices

Indices of cells negative for this channel.

width

Width of high threshold of negative population and low threshold of positive population.

cofactor

If supplied, data will be transformed using inverse hyperbolic sin with given cofactor.

Value

The AOF between positive and negative populations for x.


dtelad11/cytutils documentation built on Sept. 1, 2022, 2:45 p.m.