Learn R Programming

RUVcorr (version 1.4.2)

plotDesign: Plot nested design structure.

Description

plotDesign returns a plot with different color strips representing different factors relating to the study design. genes.

Usage

plotDesign(anno, Factors, anno.names = Factors, orderby = NULL)

Arguments

anno
A dataframe or matrix containing the annotation of the study.
Factors
A vector of factors that should be plotted.
anno.names
A vector containing the names, the default Factors.
orderby
A character describing an element in Factor by which the data should be ordered.

Value

plotDesign returns a plot.

Examples

Run this code
library(bladderbatch)
data(bladderdata)
expr.meta <- pData(bladderEset)
plotDesign(expr.meta, c("cancer", "outcome", "batch"),
c("Diagnosis", "Outcome", "Batch"), orderby="batch")

Run the code above in your browser using DataLab