Plot multiple gene profiles on one plot
1
0
Entering edit mode
Daniel Brewer ★ 1.9k
@daniel-brewer-1791
Last seen 10.3 years ago
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 -- ************************************************************** Daniel Brewer, Ph.D. Institute of Cancer Research Email: daniel.brewer at icr.ac.uk ************************************************************** The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP. This e-mail message is confidential and for use by the addre...{{dropped}}
Cancer Cancer • 976 views
ADD COMMENT
0
Entering edit mode
Ben Bolstad ★ 1.2k
@ben-bolstad-1494
Last seen 7.3 years ago
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
ADD COMMENT

Login before adding your answer.

Traffic: 585 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6