Calculates the cost.
1 | cost_func(dat, clus, mu, designmat)
|
dat |
A matrix of input data. |
clus |
A vector of predicted cell types. |
mu |
Parameter estimates from |
designmat |
An indicator variable matrix records specified marker genes of each cell type. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.