Re: [R] How to allow duplicate names in R

2019-06-23 Thread Jeff Newmiller
I don't know anything about gene sequencing analysis. You may find better expertise for that on the Bioconductor mailing list. On June 23, 2019 12:28:59 PM PDT, Yogesh Gupta wrote: >Thanks Jeff > >Actually these are Amplicon sequencing variant which are differ at >single >nucleotide but may belo

Re: [R] How to allow duplicate names in R

2019-06-23 Thread Yogesh Gupta
Thanks Jeff Actually these are Amplicon sequencing variant which are differ at single nucleotide but may belongs to same genus, or further may be same species, but may be different bacterial strain, so I will think about it what should I do, may be I can plot with OTU ID and genus together...or ca

Re: [R] How to allow duplicate names in R

2019-06-23 Thread Jeff Newmiller
Some concepts are so fundamental that they get encoded into general-purpose code. The idea that each row (column) of a heat map should be uniquely identifiable among all other rows (columns) is one such idea. To break this rule you will have to create your own heatmap function. I strongly recom

Re: [R] How to allow duplicate names in R

2019-06-23 Thread Yogesh Gupta
I able to do it with the below code but in heat map it shows x at beginning of each names. x<-read.table("HEATMAP.ROOT.input.txt",sep="\t",head=T, check.names=TRUE) x2 <- x[,-1] rownames(x2) <- make.names(x[,1], unique = TRUE) head(x2) > head(x2) Root_T1 Root_T2

[R] How to allow duplicate names in R

2019-06-23 Thread Yogesh Gupta
Hi, I do have duplicates names in tab delimited files, I need to allow to read these duplicate names in R, Could you please suggest how can modify this code to allow to read duplicates names: x<-read.table("HEATMAP.ROOT.input.txt",sep="\t",head=T, check.names=FALSE) > x Gen