Learn R Programming

Patterns (version 1.4)

clustInference,omics_array,numeric-method: A function to explore a dataset and cluster its rows.

Description

Based on soft clustering performed by the Mfuzz package.

Usage

# S4 method for omics_array,numeric
clustInference(omicsarray, vote.index, new.window = 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.

Arguments

omicsarray

A omicsarray to cluster

vote.index

Option for cluster attribution

new.window

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

Author

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

Run this code

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
}

Run the code above in your browser using DataLab