i want add arrow in pcoa, but when running code:
rownames(tmp$otu_table) <- tmp$tax_table[rownames(tmp$otu_table), "Genus"]
Error in .rowNamesDF<-(x, value = value) : no allow Repetitive 'row.names'
此外: Warning message:
non-unique values when setting 'row.names': ‘gBacillus’, ‘gClostridium’
then i check the value use:
any(duplicated(tmp$tax_table$Genus))
TURE
There are indeed duplicate values, why haven't the horizontal taxes been fully merged.
i want add arrow in pcoa, but when running code: rownames(tmp$otu_table) <- tmp$tax_table[rownames(tmp$otu_table), "Genus"]
Error in
.rowNamesDF<-
(x, value = value) : no allow Repetitive 'row.names'此外: Warning message: non-unique values when setting 'row.names': ‘gBacillus’, ‘gClostridium’ then i check the value use: any(duplicated(tmp$tax_table$Genus))
TURE
There are indeed duplicate values, why haven't the horizontal taxes been fully merged.