nmfGetBest: Finds best nmf run

View source: R/nmf.R

nmfGetBestR Documentation

Finds best nmf run

Description

by 1) its agreement (mean Silhouette) with consensus matrix calculated based on all runs 2) deviance

Usage

nmfGetBest(nmfs, normF)

Arguments

nmfs

list of nmf results

normF

normalization function (output of getNMFNormFs)

Details

the one that agree best with coincedence matrix

Value

list containing: best nmf normalized basis and coedicients (these are in addition per celltype sum-normalized) celltype clustering consensus matrix Silhouette statistics intex of best run


iaaka/visutils documentation built on June 13, 2025, 6:06 p.m.