CalculateIndexCellProb: CalculateIndexCellProb

View source: R/CELESTA_functions.R

CalculateIndexCellProbR Documentation

CalculateIndexCellProb

Description

Calculates the probability for index cells

Usage

CalculateIndexCellProb(
  current_cell_prob,
  current_cell_type_assignment,
  current_beta,
  nb_cell_type,
  current_scoring_matrix,
  cell_type_num,
  unassigned_cells,
  round
)

Arguments

current_cell_prob

the current cell probability (number_cells x number_cell_type)

current_cell_type_assignment

the current cell type assignments (number_cells x total_rounds)

current_beta

the current beta values

nb_cell_type

cell types of the neighboring cells for index cells

current_scoring_matrix

the current scoring matrix (number_cells x number_cell_type)

cell_type_num

the cell types associated with the current round

unassigned_cells

cells not assigned a cell type for each round and iteration

round

the current round

Value

calculates the probability for each cell type for unassigned cells


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