Heatmaps for one sample?
2
0
Entering edit mode
Sarah Bonnin ▴ 10
@sarah-bonnin-4186
Last seen 9.6 years ago
Dear list, I have a short question: I'm performing heatmaps on lists of genes selected as being differentially expressed on a set of 4 technical replicates (from an Agilent gene expression 2 colors experiment). As technical replicates are behaving very similarly, I am taking the median values of the replicates log2ratios, and basically trying to get a heatmaps that would display only one column, being the median value, and the genes on lines. I'm using heatmap.2 which doesn't draw heatmaps for data containing less than 2 columns and 2 rows, so I was wondering if there was a function which does this? I know that it doesn't make so much sense, especially not using biological replicates, but it has a more "visual" goal! Thank you in advance! Sarah
• 2.5k views
ADD COMMENT
0
Entering edit mode
Thomas Girke ★ 1.7k
@thomas-girke-993
Last seen 5 weeks ago
United States
You can trick it by replicating the single column/vector to a matrix of two columns containing the same values. The result in the heatmap will look like a single column. Thomas On Wed, Jul 28, 2010 at 11:04:01AM +0200, Sarah Bonnin wrote: > Dear list, > > I have a short question: I'm performing heatmaps on lists of genes selected as being differentially expressed on a set of 4 technical replicates (from an Agilent gene expression 2 colors experiment). > > As technical replicates are behaving very similarly, I am taking the median values of the replicates log2ratios, and basically trying to get a heatmaps that would display only one column, being the median value, and the genes on lines. > > I'm using heatmap.2 which doesn't draw heatmaps for data containing less than 2 columns and 2 rows, so I was wondering if there was a function which does this? > > I know that it doesn't make so much sense, especially not using biological replicates, but it has a more "visual" goal! > > Thank you in advance! > > Sarah > > > > _______________________________________________ > 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 >
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Wed, Jul 28, 2010 at 5:04 AM, Sarah Bonnin <sbonnin@crg.es> wrote: > Dear list, > > I have a short question: I'm performing heatmaps on lists of genes selected > as being differentially expressed on a set of 4 technical replicates (from > an Agilent gene expression 2 colors experiment). > > As technical replicates are behaving very similarly, I am taking the median > values of the replicates log2ratios, and basically trying to get a heatmaps > that would display only one column, being the median value, and the genes on > lines. > > I'm using heatmap.2 which doesn't draw heatmaps for data containing less > than 2 columns and 2 rows, so I was wondering if there was a function which > does this? > > I know that it doesn't make so much sense, especially not using biological > replicates, but it has a more "visual" goal! > > I'd consider using a simple bar chart or a waterfall plot. Sean [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
Hi, how about something like: > mat = t(matrix(rnorm(100))) > image(mat) needs some tuning of colors and axis labels of course. see ?image Cheers Michael Am Jul 28, 2010 um 6:09 PM schrieb Sean Davis: > On Wed, Jul 28, 2010 at 5:04 AM, Sarah Bonnin <sbonnin at="" crg.es=""> wrote: > >> Dear list, >> >> I have a short question: I'm performing heatmaps on lists of genes selected >> as being differentially expressed on a set of 4 technical replicates (from >> an Agilent gene expression 2 colors experiment). >> >> As technical replicates are behaving very similarly, I am taking the median >> values of the replicates log2ratios, and basically trying to get a heatmaps >> that would display only one column, being the median value, and the genes on >> lines. >> >> I'm using heatmap.2 which doesn't draw heatmaps for data containing less >> than 2 columns and 2 rows, so I was wondering if there was a function which >> does this? >> >> I know that it doesn't make so much sense, especially not using biological >> replicates, but it has a more "visual" goal! >> >> > I'd consider using a simple bar chart or a waterfall plot. > > Sean > > [[alternative HTML version deleted]] > > _______________________________________________ > 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
ADD REPLY

Login before adding your answer.

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