PlotMixture: Plot Mixture Model

plotMixtureR Documentation

Plot Mixture Model

Description

Plots output from a single mixture model.

Usage

  plotMixture(fit, BIC=FALSE)

Arguments

fit

output from assignPhase

BIC

whether to also plot the BICs for all the models considered.

Details

Plots a histogram of the gene expression signature of a single cell-cycle phase across cells. Superimposes the fitted gaussian curves for the optimal model according to BIC. Optionally plots the BIC for all the models considered in the fitting.

Value

The input SingleCellExperiment object with the regressed expression saved to the 'norm_exprs' slot.

See Also

classifyCells, assignPhase

Examples

	fit <- assignPhase(Ex, MGeneSets$Cyclone, "G2M")
	plotMixture(fit, BIC=TRUE)

	classification <- classifyCells(Ex,  MGeneSets$Cyclone, do.scale=TRUE, allow.multi=FALSE);
	plotMixture(classification$fits[[1]], BIC=FALSE)

tallulandrews/CycleMix documentation built on Sept. 28, 2022, 6:55 p.m.