[BioC] Plot: expression by location start AND stop

Sean Davis sdavis2 at mail.nih.gov
Mon Mar 19 16:38:47 CET 2007


On Monday 19 March 2007 11:18, Daniel Brewer wrote:
> Another plot question I am afraid.  Thanks for all the help with the
> previous one.
> I have the expression levels of a number of exons in a gene.  I would
> look like to see how the expression levels vary across the gene.  For
> each of the exons I have a start position and a stop position.
>
> It is easy enough to plot the expression level verses the start/stop
>
> position:
> > plot(exonAnnot[rownames(temp),names(exonAnnot)=="start"],temp[,16],
> > main=names(temp)[16])
>
> where temp is the expression matrix for the relevant exons.
>
> What I would like to do is for each exon draw a bar from the start
> position to the stop position at the level of expression.
>
> Anyway to do this?

You might want to check the rect() function.

Sean



More information about the Bioconductor mailing list