Description Usage Arguments Value Examples
This function plots the first two principal components for a transaction matrix
| 1 2 | transitionPCAPlot(monsterObj, title = "PCA Plot of Transition",
  clusters = 1, alpha = 1)
 | 
| title | The title of the plot | 
| clusters | A vector indicating the colors to be plotted for each node | 
| alpha | A vector indicating the level of transparency to be plotted for each node | 
| tm | a transition matrix for a bipartite network | 
ggplot2 object for transition matrix PCA
| 1 2 3 4 5 6 7 8 | data(yeast)
monsterRes <- monster(yeast$exp.ko,c(rep(1,42),rep(0,49),rep(NA,15)),
    yeast$motif, nullPerms=10, numMaxCores=4)
# Color the nodes according to cluster membership
clusters <- kmeans(slot(monsterRes, 'tm'),3)$cluster 
transitionPCAPlot(monsterRes, 
title="PCA Plot of Transition - Cell Cycle vs Stress Response", 
clusters=clusters)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.