plotDesign: Plot nested design structure.

Description Usage Arguments Value Author(s) Examples

View source: R/plotDesign.R

Description

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

Usage

1
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

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

RUVcorr documentation built on Nov. 8, 2020, 5:10 p.m.