chooseBest: Choose best combination of clusters and deconvolve

Description Usage Arguments Value Examples

Description

Chooses best combination of clusters in accuracy table and then runs DSA using this combination of clusters as putative signatures

Usage

1
chooseBest(dataset, accuracy)

Arguments

dataset

matrix, given dataset to perform deconvolution

accuracy

matrix, given accuracy table, result of clusdecAccuracy function

Value

list with matrices W and H

Examples

1
2
3
4
data('datasetLiverBrainLung')
preprocessed <- preprocessDataset(datasetLiverBrainLung, k=5) # 5 clusters
accuracy <- clusdecAccuracy(preprocessed, 3) # assuming 3 cell types
results <- chooseBest(preprocessed, accuracy) # choose best combination of clusters as putative sigantures

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