plotInfReps {fishpond} | R Documentation |
Plot inferential replicates for a gene or transcript
plotInfReps(y, idx, x, cov = NULL, cols.drk = c("dodgerblue", "goldenrod4"), cols.lgt = c("lightblue1", "goldenrod1"), xaxis)
y |
a SummarizedExperiment (see |
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 |
nothing, a plot is displayed
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")