microeco icon indicating copy to clipboard operation
microeco copied to clipboard

Change the name of the axes and the name of the variables from English to Spanish in the graphs

Open jimena18-O opened this issue 1 year ago • 2 comments

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!

jimena18-O avatar Aug 14 '23 18:08 jimena18-O

Please try:

abundanciarelativa  <- abundanciarelativa + ylab("Abundancia relativa (%)")

ChiLiubio avatar Aug 15 '23 05:08 ChiLiubio

It worked! I could do it! Thank you so much!!

jimena18-O avatar Aug 16 '23 12:08 jimena18-O