cal_MSE: Standard way to preprocess the count matrix. It is the QC...

Description Usage Arguments Value Examples

View source: R/Utility.R

Description

Standard way to preprocess the count matrix. It is the QC step for the genes.

Usage

1
cal_MSE(Ynorm, cluster, return_mses = FALSE)

Arguments

Ynorm

A normalized gene expression matrix. If not, we will normalize it for you.

cluster

The clustering outcomes. Specifically, they are cluster labels.

return_mses

True or False indicating whether returning the MSE.

Value

The MSE of the clustering centers with the predicted Y.

Examples

1
2
3
4
data(Yan)
Ynorm = Norm_Y(Y)
cluster = trueclass
MSE_res = cal_MSE(Ynorm, cluster)

suke18/FEAST documentation built on Sept. 14, 2021, 12:22 a.m.