Implements the scSorter method by iteratively running update_mu and update_C.
update_func(
dat,
design_mat,
weightmat,
unknown_threshold1 = 0,
unknown_threshold2 = 0.05,
max_iter = 100
)A matrix of input data.
An indicator variable matrix records specified marker genes of each cell type.
A matrix of weights assigned to each marker gene.
The parameter determines undecided cells cutoff. The default value is 0.
The parameter determines whether undecided cells are further processed. The default value is 0.05.
The maximum number of iterations for the algorithm to update parameters. The default value is 100.
A list contains parameter estimates, type assignments, and the corresponding cost.