I often use ggarrange() from ggpubr which is a wrapper around this function, I think. But I didn't know about the rel_widths argument, this is quite useful. Thanks!
Thanks for the suggestion, I'll be sure to include it in a future episode. For now, perhaps using facet_wrap or facet_grid with the scales argument might suit your needs? I covered these in a previous episode here- ruclips.net/video/rBHNNApVFho/видео.html
@@Riffomonas cheers for the suggestion. It came up writing a paper recently, where we wanted to depict modelling results in multiple graphs sharing an x axis but with different y axes, and vice versa.
Wish I saw this video sooner! Longshot question.... I am currently working up a figure with 6 facet wrapped bar graphs which I have put into a 2row x 3column cowplot using plot_grid. All of my x-axis labels are the same (Wetland types) and I am finding them to take up too much space in my figure. Is there a way to remove the x-axis labels and title from the first row and leave them in the second? I tried removing the x-axis labels and titles in my plot codes of the plots in the first row (which I inputted to plot_grid) but I kept getting the error "error: no method for merging function into element_text". Thanks.
Hi Casper - it’s hard for me to say. But if you run the code within the function does it create the figure? Maybe it’s not getting exported from the figure
I am getting stripchart() instead of strip_chart and there is a problem in graph arrangement as in the first row and first column the place is empty. I have no idea How to fix this even the cowplot and gridgraphic are installed in R. there are a total of 3 graphs to be placed together.
I dont like my axis labels to repeat themselves. Is there a way to have a single centered x and or y labelling. Been trying to figure it out but cannot manage to get it rght
If you aren't using tools like cowplot or patchwork, what do you use to assemble multipanel figures?
I have also used gridExtras grid arrange function
@@RasmusKirkegaard cool - I’ll have to check that out
I often use ggarrange() from ggpubr which is a wrapper around this function, I think. But I didn't know about the rel_widths argument, this is quite useful. Thanks!
Doing my MSc Project about microbiome in the salmon gills and you're help is keeping me sane
Wonderful! It’s keeping me sane too 😂
Thanks a lot, your explanations were really useful
Wonderful- thanks for watching!
This was great. Thank you :)
My pleasure! thanks for watching🤓
useful package and video, thanks a lot
Thanks! Glad you enjoyed the episode 😊
Wow this is some great content. Liked & subscribed for more!
Awesome, thank you!
how a guy with 62k citation is putting out this type of impressive educational content?! Amazing..
Thanks - I do it because I think this will have more impact 🤓
Wish I’d seen this video earlier! Can you cover leaving out duplicate axes?
Thanks for the suggestion, I'll be sure to include it in a future episode. For now, perhaps using facet_wrap or facet_grid with the scales argument might suit your needs? I covered these in a previous episode here- ruclips.net/video/rBHNNApVFho/видео.html
@@Riffomonas cheers for the suggestion. It came up writing a paper recently, where we wanted to depict modelling results in multiple graphs sharing an x axis but with different y axes, and vice versa.
thank you so much
My pleasure- thanks for watching!
Thanks for the illustrations. In the published article, you have mean and standard deviations in the legend. How do I add the values to each plot?
Thanks for watching! You’d need to insert the values into the labels using paste or glue
Why didn't I meet you while I was doing my dissertation? 🤦🏾♂️
Sorry! :) At least you can do things a bit easier going forward in your career, right?
Is it possible to include normal pictures as one of the figures? So for example, I want to include a picture of a bacteria as subfigure A.
Wish I saw this video sooner!
Longshot question....
I am currently working up a figure with 6 facet wrapped bar graphs which I have put into a 2row x 3column cowplot using plot_grid.
All of my x-axis labels are the same (Wetland types) and I am finding them to take up too much space in my figure.
Is there a way to remove the x-axis labels and title from the first row and leave them in the second?
I tried removing the x-axis labels and titles in my plot codes of the plots in the first row (which I inputted to plot_grid) but I kept getting the error "error: no method for merging function into element_text".
Thanks.
Hey Edward - do you maybe want to use ggplot2::facet_grid instead? That should give you a common x and y-axis
I've tried to make to plots with a function like you did and nothing showed up..
Hi Casper - it’s hard for me to say. But if you run the code within the function does it create the figure? Maybe it’s not getting exported from the figure
I am getting stripchart() instead of strip_chart and there is a problem in graph arrangement as in the first row and first column the place is empty. I have no idea How to fix this even the cowplot and gridgraphic are installed in R. there are a total of 3 graphs to be placed together.
I dont like my axis labels to repeat themselves. Is there a way to have a single centered x and or y labelling. Been trying to figure it out but cannot manage to get it rght
This type of thing is much easier using the {patchwork} package. Thanks for watching!
can we plots 2 plots from different libraries ?
If you look at the vignettes in the cowplot and patchwork documentation I believe they show how to combine different plotting systems