multiplot {rtpcr}R Documentation

Multiple plot function

Description

Multiple plot function

Usage

multiplot(..., cols = 1)

Arguments

...

ggplot objects can be passed in ... or to plotlist (as a list of ggplot objects)

cols

Number of columns in the panel

Details

Producing multiple plots plate using ggplot objects

Value

A multiple-plots plate

Author(s)

gist.github.com/pedroj/ffe89c67282f82c1813d

Examples


p1 <- qpcrTTESTplot(data_ttest, 
                    numberOfrefGenes = 1,
                    ylab = "Average Fold Change (FC)",
                    width = 0.3)


out2 <- qpcrANOVARE(data_1factor, numberOfrefGenes = 1)$Result
p2 <- oneFACTORplot(out2,
                    width = 0.2,
                    fill = "skyblue",
                    y.axis.adjust = 0.5,
                    y.axis.by = 1,
                    errorbar = "ci",
                    show.letters = TRUE,
                    letter.position.adjust = 0.1,
                    ylab = "Relative Expression (RE)",
                    xlab = "Factor Levels",
                    fontsize = 12)
                    
multiplot(p1, p2, cols=2)

multiplot(p1, p2, cols=1)




[Package rtpcr version 1.0.7 Index]