Error in `levels<-`(`*tmp*`, value = as.character(levels)) :
factor level [18] is duplicated
It is working completely fine when using tax_aggregate = 'Genus'. I can also make a text map (textmap=T) and get the function information when aggregating at species-level.
I have troubles plotting functions in
amp_heatmap
when settingtax_aggregate = 'Species'
as shown in example below:I am getting the following error:
It is working completely fine when using
tax_aggregate = 'Genus'
. I can also make a text map (textmap=T
) and get the function information when aggregating at species-level.Thanks, Kasper!