[R] GOstats: get genes for corresponding enriched GO term

2012-07-20 Thread Lan Sky
Hi, I used GOstats to perform enrichment test on a set of genes (20). There are 7 GO terms with pvalue less than cuttoff and therefore shown in the result table. How can I get the information that which gene in the input gene set belong to which GO term of these enriched GO terms? Thanks for a

[R] question about heatmap.2, controlling the visual heights of two dendrograms

2012-07-21 Thread Lan Sky
Hi, I have a question for gplots function heatmap.2. In this function, is there any way to control/know the heights of two dendrograms, such as how many pixels or how many percentage of the whole image the dendrogram have? I need to know the coordinates of northwest corner of real heatmap in the