CountCellType: CountCellType

View source: R/CELESTA_functions.R

CountCellTypeR Documentation

CountCellType

Description

Counts the cell type

Usage

CountCellType(prior_info, current_cell_type_assignment, cell_type_num, round)

Arguments

prior_info

user-defined cell-type signature matrix.

The data should contain two columns (name X and Y) for the x, y coordinates and a column for each protein marker. Each row represents the data for a single cell, including its x, y coordinates and expression for each protein marker.

current_cell_type_assignment

the current cell type assignments (number_cells x total_rounds)

cell_type_num

the cell types associated with the current round

round

the current round

Value

the count and proportion for each cell type based on the current cell type assignments


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