Learn R Programming

EMMIXgene (version 0.1.4)

cluster_genes: Clusters genes using mixtures of normal distributions

Description

Sorts genes into clusters using mixtures of normal distributions with covariance matrices restricted to be multiples of the identity matrix.

Usage

cluster_genes(gen, g = NULL)

Value

An array containing the clustering.

Arguments

gen

an EMMIXgene object produced by select_genes().

g

The desired number of gene clusters. If not specified will be selected automatically on the basis of BIC.

Examples

Run this code

#only run on first 100 genes for speed
alon_sel <- select_genes(alon_data[seq_len(100), ]) 
alon_clust<- cluster_genes(alon_sel , 2)

Run the code above in your browser using DataLab