multiplot: Multiplot function from R cookbook

Description Usage Arguments Examples

Description

# Function is originally from R Cookbook # http://wiki.stdout.org/rcookbook/Graphs/Multiple # graphs

Usage

1
multiplot(..., plotlist = NULL, cols)

Arguments

...

comma separated list of plots to include

plotlist

list, naming plots to include

cols

number of columns for grid of plots

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data(SEQC.Example)

exDat <- runDashboard(datType="array", isNorm=FALSE,
                 exTable=UHRR.HBRR.arrayDat,
                 filenameRoot="testRun", sample1Name="UHRR",
                 sample2Name="HBRR", erccmix="RatioPair",
                 erccdilution = 1, spikeVol = 50,
                 totalRNAmass = 2.5*10^(3), choseFDR=0.01)

# print 2 plots to page with 2 columns
multiplot(exDat$Figures$lodrERCCPlot,exDat$Figures$rocPlot,cols = 2)

# print 2 plots to page with 1 column
multiplot(exDat$Figures$lodrERCCPlot,exDat$Figures$rocPlot,cols = 1)

usnistgov/erccdashboard_preBioC documentation built on May 3, 2019, 2:38 p.m.