plot.tcm: plot.tcm

Description Usage Arguments Author(s) Examples

Description

Plot the TCM results

Usage

1
2
## S3 method for class 'tcm'
plot(x, ...)

Arguments

x

a tcm object

...

Further graphical parameters may also be supplied as arguments

Author(s)

Wuming Gong, gongx030@umn.edu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(tcm)
set.seed(122)
sim <- sim.rnaseq.ts(N = 2000, M = 500, n.lineage = 5, n.time.points = 5)
X <- assays(sim)$count
time.table <- colData(sim)$time.table
mf <- tcm(X, time.table = time.table)
bg.cell <- rainbow(5)[colData(sim)$lineage]
dev.new(height = 10, width = 12)
par(mar = c(5, 5, 5, 15))
plot(mf, pch = 21, bg = bg.cell, cex = 1.5)

gongx030/tcm documentation built on June 4, 2019, 7:26 p.m.