shenlab-sinai / ngsplot

Quick mining and visualization of NGS data by integrating genomic databases
Other
252 stars 65 forks source link

Warning message about duplicated row names #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is triggered by the following code:

# Add row names to heatmap data.
for(i in 1:length(enrichList)) {
    reg <- ctg.tbl$glist[i]  # gene list name.
    rownames(enrichList[[i]]) <- paste(coord.list[[reg]]$gname, 
                                       coord.list[[reg]]$tid, sep=':')
}

If the gname:tid pairs have the same name, the R interpreter will complain. 
This will most likely happen when custom bed files are being used.

Original issue reported on code.google.com by shenli.sam on 21 Aug 2014 at 3:20