getFinalPartition: The getFinalPartition function

Description Usage Arguments Value

Description

Internal. Takes the consensus vector for each K and performs hierachical clustering to get the final k clusters.

Usage

1
2
getFinalPartition(consensusVector, K, n, sampleNames, finalLinkage, pathOutput,
  verbose)

Arguments

consensusVector

list a vector of counts of how many times each pair of samples have been clustered together so far, for each value of K.

K

vector of integers representing numbeer of clusters to evaluate.

n

number of samples in input data matrix

sampleNames

vector with samples names (colnames of input data)

finalLinkage

heirarchical linkage method for producing a final classification with the consensus indexes

pathOutput

directory for output files

verbose

logical, print progress messages to screen

Value

A list with one element for each value of K, each containing:


mpru/ConsensusClustering documentation built on May 9, 2019, 5:54 a.m.