CalculateProbabilityDifference: CalculateProbabilityDifference

View source: R/CELESTA_functions.R

CalculateProbabilityDifferenceR Documentation

CalculateProbabilityDifference

Description

Calculate the probability differences

Usage

CalculateProbabilityDifference(
  max.prob,
  max.prob_index,
  cell_prob_list,
  unassigned_cells
)

Arguments

max.prob

the maximum marker probability for each cell

max.prob_index

the index of the maximum marker probability for each cell

cell_prob_list

the probabilities of the cells are are not assigned a cell type

unassigned_cells

cells not assigned a cell type for each round and iteration

Value

the minimum of the difference in probability between the maximum marker probability and other marker probabilities


plevritis-lab/CELESTA documentation built on Jan. 30, 2023, 3:32 p.m.