readMatrixMask_per_sample.Rd
Preprocessing the the spatial experiment data for cell-level expression matrix with mask output.
readMatrixMask_per_sample(
cell_mat,
cell_coord,
cell_id,
mask,
method_name = "SimpleSeg"
)
A gene by cell matrix indicates the segmented cell expression.
A matrix with 3 column indicates the x_coord, y_coord and cell_id of each cell in `cell_mat`.
A vector indicates the cell_id for the columns of `cell_mat`.
The mask results from cell segmentiation method
A string indicates the method name of the cell segmentation.