[BioC] Plot multiple gene profiles on one plot

Ben Bolstad bmb at bmbolstad.com
Mon Mar 19 15:17:58 CET 2007


perhaps matplot() is what you are looking for. Note you might have to
t() your matrix.

Ben

On Mon, 2007-03-19 at 13:43 +0000, Daniel Brewer wrote:
> I have an expression matrix confined to the genes I wish to plot e.g.
> 	sample1	sample2 ...
> gene 1
> gene 2
> ...
> 
> This may be a simple question, but is there a single command to do gene
> expression plots across all the samples?
> At the moment I am doing
> plot(expression[1,])
> lines(expression[2,])
> lines(expression[3,])
> ...
> 
> Is there a simpler way?
> 
> Dan



More information about the Bioconductor mailing list