plotCNOlist2: Another version of plotCNOlist that allows to plot 2 cnolist...

View source: R/plotCNOlist2.R

plotCNOlist2R Documentation

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.

Author(s)

T. Cokelaer

See Also

plotCNOlistPDF, plotCNOlistLarge, plotCNOlistLargePDF, plotCNOlist

Examples

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

saezlab/CellNOptR documentation built on April 16, 2024, 5:21 a.m.