Learn R Programming

GESTr (version 0.1)

mergeComponents: Merge GMM Components with Highly Overlapping Support

Description

Function to merge GMM components with predominantly overlapping support

Usage

mergeComponents(model,overlap)

Arguments

model
An object of class Mclust, produced by the function fitGMM
overlap
A numeric value specifying the classification score threshold: minimum value of model$z for a value to be considered as supported by a given mixture component.

Value

model to merge together in gene expression state estimation.

Details

Identifies GMM components with sufficiently overlapping support, if for those components the average E-M classification score across all points with a maximum score corresponding to any of those components is greater than the specified threshold.

Examples

Run this code
### internal function ###

Run the code above in your browser using DataLab