Re: [R] How to plot dendogram based on samples ID

2019-06-08 Thread David Carlson
Neither ContigID nor sampleID are defined in your example. The default is to plot by the row names. You can get the manual page for the dendrogram plot using the command ?plot.hclust. The second argument lets you specify the labels. David L Carlson, retired Department of Anthropology Texas A&M Uni

[R] How to plot dendogram based on samples ID

2019-06-08 Thread Yogesh Gupta
Hi, I do have RNAseq FPKM count and interested in dendrogram for samples cluster. I used below code but it generate dendogram based on ContigID instead of sampleID. > countMatrix = > read.table("Trinity_trans.counts.matrix.txt",header=T,sep='\t',check.names=F,row.names=1) > dim(countMatrix) [1