Clustering of samples based on gene expression
0
0
Entering edit mode
2.6 years ago

Hi Guys,

I need to cluster some samples A,B,C based on the gene expression (Please see the data below). I made a matrix of 1s and 0s where 1 indicate gene is present and zero indicates its absence. While I am clustering them using Hierarchical clustering (HC) method, samples A and C are clustered closely. But, as we can see, samples A and B share 2 genes in common. I understand how the HC algorithm is working. It is clustering based on both 1s and 0s. But, is there any other method we can apply to cluster samples A and B closely, (like avoiding zeros and clustering based on only 1s) ?

Sample    GeneA    GeneB    GeneC    GeneD    GeneE    GeneF    GeneG    GeneH    GeneI    GeneJ    GeneK    GeneL    GeneM    GeneN    GeneO    GeneP    GeneQ
A         0        0        0        0        0        0        0        0        0        0        0        0        0        0        1        1        0
B         1        1        1        1        1        1        1        1        1        1        1        1        1        1        1        1        1
C         0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0

Thanks in advance

cluster • 701 views
ADD COMMENT
0
Entering edit mode

You can use pheatmap to cluster it.

ADD REPLY
0
Entering edit mode

That's a visualization tool that internally uses hclust. Any change that can be done in pheatmap's clustering methods can be done without involving pheatmap as well. There is no reason to involve pheatmap here.

ADD REPLY

Login before adding your answer.

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