I tried that make.unique function:
make.unique("Gene.Symbol", sep=",")
[1] "Gene.Symbol"
Followed by:
row.names(PDR) <- PDR$Gene.Symbol
Error in `row.names<-.data.frame`(`*tmp*`, value = c(1L, 1L, 1L, 1L, 1L, :
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names': 'BCL11A', 'BCL2', 'CCL5', 'CCR2', 'EED', 'EZH2',
But this error came up. Trying to have the Gene Symbols appear on the Y axis of the heatmap instead of the numbers. Thanks.
• 0 views
•
link