clustInference,omics_array,numeric-method {Patterns}R Documentation

A function to explore a dataset and cluster its rows.

Description

Based on soft clustering performed by the Mfuzz package.

Usage

## S4 method for signature 'omics_array,numeric'
clustInference(omicsarray, vote.index, new.window = FALSE)

Arguments

omicsarray

A omicsarray to cluster

vote.index

Option for cluster attribution

new.window

Boolean. New X11 window for plots. Defaults to FALSE.

Value

A list of two elements:

res.matrix

A data.frame of nrows(omicsarray) observations of 3 variables (name, cluster, maj.vote.index).

prop.matrix

Additionnal info.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples


library(Patterns)
if(require(CascadeData)){
data(micro_S, package="CascadeData")
D<-Patterns::as.omics_array(micro_S[1:20,],1:4,6)
b<-Patterns::clustInference(D,0.5)
b
}


[Package Patterns version 1.5 Index]