plotMeans(gene, gown, overall = FALSE, groupvar, groupname = "all", meas = c("cov", "FPKM", "rcount", "ucount", "mrcount", "mcov"), colorby = c("transcript", "exon"), legend = TRUE, labelTranscripts = FALSE)"XLOC_######"TRUE, color features by the overall
(experiment-wide) mean rather than a group-specific mean"none" (if you want the
study-wide mean), or must correspond to the name of a column of
pData(gown). Usually a categorical variable."none" (if you want the study-wide mean),
"all" (if you want a multipanel plot of each group's mean
expression), or any of the levels of groupvar."transcript" or "exon", indicating which
feature's abundances should dictate plot coloring.TRUE (as it is by default), a color legend is drawn
on top of the plot indicating the scale for feature abundances.TRUE, transcript ids are labeled on the
left side of the plot. Default FALSE.plotTranscripts
data(bg)
plotMeans('XLOC_000454', bg, groupvar='group', meas='FPKM',
colorby='transcript')
Run the code above in your browser using DataLab