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