cost_func {scSorter}R Documentation

Cost Function

Description

Calculates the cost.

Usage

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.


[Package scSorter version 0.0.2 Index]