UpdatePriorMatrix: UpdatePriorMatrix

View source: R/CELESTA_functions.R

UpdatePriorMatrixR Documentation

UpdatePriorMatrix

Description

Updates prior knowledge matrix of the cell type signatures

Usage

UpdatePriorMatrix(
  current_pri_matrix,
  initial_pri_matrix,
  current_cell_type_assignment,
  marker_exp_prob,
  round,
  cell_type_num
)

Arguments

current_pri_matrix

the updated cell-type marker matrix

initial_pri_matrix

user defined cell-type marker matrix for a specific round

current_cell_type_assignment

the current cell type assignments (number_cells x total_rounds)

marker_exp_prob

the marker expression probability for each cell

round

the current round

cell_type_num

the cell types associated with the current round

Value

updates the prior knowledge matrix with information from cells assigned to each cell type


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