microeco
microeco copied to clipboard
Change the name of the axes and the name of the variables from English to Spanish in the graphs
Hi. I appreciate if you can help me with the following.
I want to change the name of the y-axis "relative abundance (%)" to "Abundancia relativa (%)"
select top 8 abundant Phyla.
t1 <- trans_abund$new(dataset = meco_dataset, taxrank = "Phylum", ntaxa = 8)
abundanciarelativa<-t1$plot_bar(others_color = "grey70", facet = "trat", xtext_keep = FALSE, legend_text_italic = FALSE)
return a ggplot2 object
Thanks!
Please try:
abundanciarelativa <- abundanciarelativa + ylab("Abundancia relativa (%)")
It worked! I could do it! Thank you so much!!