plotDesign {RUVcorr}R Documentation

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.

Author(s)

Saskia Freytag

Examples

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

[Package RUVcorr version 1.20.0 Index]