Learn R Programming

CellNOptR (version 1.18.0)

plotCNOlistLargePDF: Plots a CNOlist into a pdf file, for lists with many conditions.

Description

This function is a wrapper for plotCNOlistLarge, that plots the output directly in a pdf file.

Usage

plotCNOlistLargePDF(CNOlist, filename, nsplit, width=14, height=7)

Arguments

CNOlist
a CNOlist
filename
a name for your pdf file, eg. "plot.pdf"
nsplit
the number os splits along the condition dimension (see plotCNOlistLarge)
width
set the width of the PDF document.
height
set the height of the PDF document.

Value

This function doesn't return anything, it just produces a pdf file with your plots, in your current working directory.

Details

This function makes plots of CNOlists that are more readable when many conditions are present in the data. In addition to plotting the conditions divided into multiple plots, this function also plots the cues divided in two columns, one for inhibitors and one for stimuli.

See Also

plotCNOlistLarge, plotCNOlist, plotCNOlistPDF

Examples

Run this code
tmpdir<-tempdir()
setwd(tmpdir)
data(CNOlistDREAM,package="CellNOptR")
plotCNOlistLargePDF(CNOlistDREAM, filename="dreamData.pdf",nsplit=2)

Run the code above in your browser using DataLab