evalClusters: Evaluate accuracy of combination

Description Usage Arguments Details Value

Description

Uses given combination as putative signatures for deconvolution Runs DSA algorithm

Usage

1
evalClusters(dataset, clustering, cls, clusterNumber, cellTypesNumber)

Arguments

dataset

matrix, given dataset to perform deconvolution

clustering

numeric vector, cluster of every row in dataset

cls

numeric vector, given cluster to evaluate accuracy

clusterNumber

numeric, total number of clusters in dataset

cellTypesNumber

numeric, expected number of cell types

Details

Then calculates Frobenius norm between logarithms of observed gene expression matrix and estimated gene expression matrix

Value

vector of cluster, sum-to-one error and log frobenius norm


ctlab/ClusDec documentation built on May 14, 2019, 12:29 p.m.