Mixture {IdMappingAnalysis} | R Documentation

## The Mixture class

### Description

Package: IdMappingAnalysis
Class Mixture

`Object`
`~~|`
`~~+--``Mixture`

Directly known subclasses:

public static class Mixture
extends Object

The constructor creates a model from a single Corr object using the number of clusters defined by G determining the optimal number of clusters by default and optionally using the Fisher transform.

### Usage

    Mixture(corr=NULL, G=c(1:5), Fisher=FALSE, verbose=FALSE, ...)

### Arguments

`corr` | Corr object on wich mixture modeling is performed.
`G` | number of components in mixture model. If G is a vector, the optimal number of components is determined. G is a vector (1:5) by default.
`Fisher` | if `TRUE`, the Fisher transform of correlation data is performed before the model is fitted. Default is `FALSE`.
`verbose` | if `TRUE` enables diagnostic messages. Default is `FALSE`.
`...` | Not used.

### Value

The resulting Mixture object encapsulates a data member '.model' containing the results of mixture modeling represented by the `list` with following components:

`corr` | the correlation data
`clust` | the clustering results data structure returned by Mclust()
`sd` | standard deviation derived from clust$parameters$variance$sigmasq
`density` | the correlation density distribution
`marginalDensity` | the marginal density

### Fields and Methods

Methods:

| `clust` | Retrieve the custering results data structure.
| `getData` | Extract mixture component data from the Mixture object.
| `getStats` | Get mixture component model summary info.
| `plot` | Plot the results of mixture modeling.
| `primaryKey` | Retrieves a primary key for a given Mixture object.
| `secondaryKey` | Retrieves a secondary key for a given Mixture object.

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save

### Author(s)

Alex Lisovich, Roger Day

### Examples

     mixture<-Mixture(examples$corr,G=c(1:4),Fisher=TRUE,verbose=TRUE);
     class(mixture);
     names(mixture$.model)

[Package IdMappingAnalysis version 1.28.0 Index]