I have an expression matrix, the rows contain 995 significant genes and columns contain 73 sample (995*73), samples are divided into 4 groups, after generation of heat map (pheatmap) from this matrix, how can I extract the genes associated with the groups or any sample?
You said in your question that you have determined the genes that are significant. Which package did you use to determine that? If you use limma, then its user guide will surely benefit you.
However, I get the feeling that what you have got so far is only the expression matrix.
Thank you for pointing this out. these genes are reported in an article, I get those from a supplementary file, I want to compare the genes of each group with my results. The gene list published in the supplementary file was a matrix, I clustered it by creating a pheatmap, but I could not extract the genes associated among each group or sample.
Thank you so much, your answer was reasonable and accurate.
According to your guidance, If I want to extract a gene list, I should use the cutree command, in this command, can I use the sample number instead of the cluster number?
Hello Morteza,
You said in your question that you have determined the genes that are significant. Which package did you use to determine that? If you use limma, then its user guide will surely benefit you.
However, I get the feeling that what you have got so far is only the expression matrix.
Hi,
Thank you for pointing this out. these genes are reported in an article, I get those from a supplementary file, I want to compare the genes of each group with my results. The gene list published in the supplementary file was a matrix, I clustered it by creating a pheatmap, but I could not extract the genes associated among each group or sample.