plotInfReps {fishpond}R Documentation

Plot inferential replicates for a gene or transcript

Description

Plot inferential replicates for a gene or transcript

Usage

plotInfReps(
  y,
  idx,
  x,
  cov = NULL,
  cols.drk = c("dodgerblue", "goldenrod4"),
  cols.lgt = c("lightblue1", "goldenrod1"),
  xaxis
)

Arguments

y

a SummarizedExperiment (see swish)

idx

the name or row number of the gene or transcript

x

the name of the condition variable

cov

the name of the covariate for adjustment

cols.drk

dark colors for the lines of the boxes

cols.lgt

light colors for the inside of the boxes

xaxis

logical, whether to label the sample numbers. default is TRUE if there are less than 30 samples

Value

nothing, a plot is displayed

Examples


y <- makeSimSwishData()
plotInfReps(y, 3, "condition")

y <- makeSimSwishData(n=40)
y$batch <- factor(rep(c(1,2,3,1,2,3),c(5,10,5,5,10,5)))
plotInfReps(y, 3, "condition", "batch")


[Package fishpond version 1.4.1 Index]