Heatmap hints and identifying differentially expressed genes
1
0
Entering edit mode
Amy Johnson ▴ 40
@amy-johnson-3014
Last seen 9.6 years ago
Hi, Thanks for your quick response. How do I specify colors corresponding to values, e.g. 0-1 (blue to yellow gradient), 1 (yellow), 1-10(yellow to red gradient)? amy ----- Original Message ----- From: "Marietta Herrmann" <mariherrmann@gmx.de> To: Amy Johnson <a7johnson at="" gmail.com="">, bioconductor at stat.math.ethz.ch Date: Mon, Mar 2, 2009 at 10:10 AM Subject: Heatmap hints and identifying differentially expressed genes > Hi Amy, > > you can set up every color you want with this command: > > mycolors<-function(n) colorpanel(n, "blue", "white", "brown") > > you can fit in every color from the R color chart, which you can find here: > http://research.stowers-institute.org/efg/R/Color/Chart/ > > in the heatmap-command you set col=mycolors(32) > > I hope this helps you! > > Best regards, > > Marietta Herrmann > > > Am 3/2/09 3:34 PM schrieb "Amy Johnson" unter <a7johnson at="" gmail.com="">: > - Show quoted text - > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor at stat.math.ethz.ch > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > Search the archives: > > http://news.gmane.org/gmane.science.biology.informatics.conductor > > >
• 869 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Mon, Mar 2, 2009 at 10:24 AM, Amy Johnson <a7johnson@gmail.com> wrote: > Hi, > > Thanks for your quick response. How do I specify colors corresponding to > values, e.g. 0-1 (blue to yellow gradient), 1 (yellow), 1-10(yellow to > red gradient)? > You'll want to play with the breaks argument. There are a number of posts in the archives that may be useful. Sean > > > ----- Original Message ----- > From: "Marietta Herrmann" <mariherrmann@gmx.de> > To: Amy Johnson <a7johnson@gmail.com>, bioconductor@stat.math.ethz.ch > Date: Mon, Mar 2, 2009 at 10:10 AM > Subject: Heatmap hints and identifying differentially expressed genes > > > Hi Amy, > > > > you can set up every color you want with this command: > > > > mycolors<-function(n) colorpanel(n, "blue", "white", "brown") > > > > you can fit in every color from the R color chart, which you can find > here: > > http://research.stowers-institute.org/efg/R/Color/Chart/ > > > > in the heatmap-command you set col=mycolors(32) > > > > I hope this helps you! > > > > Best regards, > > > > Marietta Herrmann > > > > > > Am 3/2/09 3:34 PM schrieb "Amy Johnson" unter <a7johnson@gmail.com>: > > - Show quoted text - > > > _______________________________________________ > > > Bioconductor mailing list > > > Bioconductor@stat.math.ethz.ch > > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > > Search the archives: > > > http://news.gmane.org/gmane.science.biology.informatics.conductor > > > > > > > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 974 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