Learn R Programming

DIscBIO (version 1.2.2)

PlotMBpca: Plotting pseudo-time ordering or gene expression in Model-based clustering in PCA

Description

The PCA representation can either be used to show pseudo-time ordering or the gene expression of a particular gene.

Usage

PlotMBpca(object, type = "order", g = NULL, n = NULL)

Value

A plot of the PCA.

Arguments

object

DISCBIO class object.

type

either `order` to plot pseudo-time ordering or `exp` to plot gene expression

g

Individual gene name or vector with a group of gene names corresponding to a subset of valid row names of the ndata slot of the DISCBIO object. Ignored if `type="order"`.

n

String of characters representing the title of the plot. Default is NULL and the first element of g is chosen. Ignored if `type="order"`.