Learn R Programming

CellNOptR (version 1.18.0)

plotCNOlist2: Another version of plotCNOlist that allows to plot 2 cnolist in the same layout to compare them. This function uses ggplot2 library. It is recommended for small data sets (about 15 species).

Description

This function plots the data in a CNOlist as a matrix of plots with a row for each condition and a column for each signal, Cues are simply represented by a number.

Usage

plotCNOlist2(cnolist, simulated_cnolist=NULL, ymin=0,ymax=1)

Arguments

cnolist
a CNOlist
simulated_cnolist
another cnolist
ymin
Change the lower y-limit (default is 0)
ymax
Change the lower y-limit (default is 1)

Details

This function can plot either a single CNOlist, or 2 on top of each other.

See Also

plotCNOlistPDF, plotCNOlistLarge, plotCNOlistLargePDF, plotCNOlist

Examples

Run this code
# this data set is not an object so we need to convert it
data(CNOlistToy,package="CellNOptR")
cnolist = CNOlist(CNOlistToy)
plotCNOlist2(cnolist)

Run the code above in your browser using DataLab