If you aren't using tools like cowplot or patchwork, what do you use to assemble multipanel figures?
@RasmusKirkegaard
3 жыл бұрын
I have also used gridExtras grid arrange function
@patschloss3342
3 жыл бұрын
@@RasmusKirkegaard cool - I’ll have to check that out
@Narya456
3 жыл бұрын
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!
@senevi
3 жыл бұрын
Doing my MSc Project about microbiome in the salmon gills and you're help is keeping me sane
@Riffomonas
3 жыл бұрын
Wonderful! It’s keeping me sane too 😂
@PaulYoung-r8g
Ай бұрын
This was great. Thank you :)
@Riffomonas
29 күн бұрын
My pleasure! thanks for watching🤓
@rajeshshigdel1472
2 жыл бұрын
Thanks a lot, your explanations were really useful
@Riffomonas
2 жыл бұрын
Wonderful- thanks for watching!
@romulocenci6176
3 жыл бұрын
useful package and video, thanks a lot
@Riffomonas
3 жыл бұрын
Thanks! Glad you enjoyed the episode 😊
@method341
3 жыл бұрын
Wow this is some great content. Liked & subscribed for more!
@Riffomonas
3 жыл бұрын
Awesome, thank you!
@nabana8205
2 жыл бұрын
thank you so much
@Riffomonas
2 жыл бұрын
My pleasure- thanks for watching!
@dudwx
Жыл бұрын
how a guy with 62k citation is putting out this type of impressive educational content?! Amazing..
@Riffomonas
5 ай бұрын
Thanks - I do it because I think this will have more impact 🤓
@r_tools4063
Жыл бұрын
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.
@chooby364
Ай бұрын
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
@Riffomonas
29 күн бұрын
This type of thing is much easier using the {patchwork} package. Thanks for watching!
@haffkrugentertainment
Жыл бұрын
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.
@ieliemielio
2 жыл бұрын
Wish I’d seen this video earlier! Can you cover leaving out duplicate axes?
@Riffomonas
2 жыл бұрын
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- kzitem.info/news/bejne/03h-tIJ3qYh3m6Q
@ieliemielio
2 жыл бұрын
@@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.
@jopwonya
2 жыл бұрын
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?
@Riffomonas
2 жыл бұрын
Thanks for watching! You’d need to insert the values into the labels using paste or glue
@CasperLind1
2 жыл бұрын
I've tried to make to plots with a function like you did and nothing showed up..
@Riffomonas
2 жыл бұрын
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
@edwardkellaway7651
3 жыл бұрын
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.
@Riffomonas
3 жыл бұрын
Hey Edward - do you maybe want to use ggplot2::facet_grid instead? That should give you a common x and y-axis
@gambu4810
2 жыл бұрын
Why didn't I meet you while I was doing my dissertation? 🤦🏾♂️
@Riffomonas
2 жыл бұрын
Sorry! :) At least you can do things a bit easier going forward in your career, right?
@hindi_recap1
2 жыл бұрын
can we plots 2 plots from different libraries ?
@Riffomonas
2 жыл бұрын
If you look at the vignettes in the cowplot and patchwork documentation I believe they show how to combine different plotting systems
Пікірлер: 35