cost_func: Cost Function

Description Usage Arguments

View source: R/cost_calc.R

Description

Calculates the cost.

Usage

1
cost_func(dat, clus, mu, designmat)

Arguments

dat

A matrix of input data.

clus

A vector of predicted cell types.

mu

Parameter estimates from update_mu.

designmat

An indicator variable matrix records specified marker genes of each cell type.


scSorter documentation built on March 17, 2021, 9:06 a.m.