Can someone please help me with the table of values generated from plotHeatmap? I have generated 4 clusters using k-means method and obtained a heatmap for ChIP-seq data for control and treatment. I have also taken the the table of values underlying the heatmap. How do I interpret it? I wish to extract the data for each control and treatment genes for the 4 clusters, i.e., I wish to extract 4 tables corresponding to the 4 clusters from the plotHeatmap values table in an Ubuntu terminal. Can someone help me out with interpreting the main table and the extraction procedure?
Thank you for your response! I managed to interpret the data table. How do I extract the data for each cluster (i used k-means clustering and divided into 4 clusters) in a separate table using grep/awk or anything else in Ubuntu terminal? I am new to these tools!
Of course you can use awk. Also use of
cut -f
, will give you the corresponding columns for every sample.