Description Usage Arguments Value Author(s) See Also Examples
visualize structure of assembled transcripts
1 2 3 4 |
gene |
name of gene whose transcripts will be plotted. When using
Cufflinks output, usually of the form |
gown |
ballgown object containing experimental and phenotype data |
samples |
vector of sample(s) to plot. Can be |
colorby |
one of |
meas |
which expression measurement to color features by, if any. Must match an available measurement for whatever feature you're plotting. |
legend |
if |
labelTranscripts |
if |
main |
optional string giving the desired plot title. |
blackBorders |
if |
log |
if |
logbase |
log base to use if |
customCol |
an optional vector of custom colors to color transcripts by. There must be the same number of colors as transcripts in the gene being plotted. |
customOrder |
an optional vector of transcript ids (matching ids in
|
produces a plot of the transcript structure for the specified gene in the current graphics device.
Alyssa Frazee
plotMeans
, plotLatentTranscripts
1 2 3 4 5 6 7 8 9 10 11 | data(bg)
# plot one gene for one sample:
plotTranscripts(gene='XLOC_000454', gown=bg, samples='sample12', meas='FPKM',
colorby='transcript',
main='transcripts from gene XLOC_000454: sample 12, FPKM')
# plot one gene for many samples:
plotTranscripts('XLOC_000454', bg,
samples=c('sample01', 'sample06', 'sample12', 'sample19'),
meas='FPKM', colorby='transcript')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.