|
Hey folks, Did you miss me last week? Friday was the day after the US Thanksgiving holiday and I just couldn’t get everything done that I needed to. The result was an extra livestream on the figure I shared in the previous newsletter. If you haven’t had a chance to watch the three videos (one critique, a livestream, and another livestream) from that figure, I really encourage you to. In the first livestream I made an effort to simplify the panels as a set of facets. Towards the end a viewer suggested making the facets vertical rather than horizontal. That gave rise to the second livestream. In that session another viewer shared their experience using This week’s figure is taken from a cool microbial ecology paper recently published in Nature Microbiology by Bakkeren and colleagues. The paper’s title is “Strain displacement in microbiomes via ecological competition”. I really enjoyed reading this paper and thought they did a very nice job of exploring fundamental concepts of ecology with microbes. There’s a lot of similarity across the figures, but I’m going to focus on Figure 2. I’m still not which set of panels in this figure I’ll focus on in my livestream. Today, I want to think about panels f and g If you’ve seen my recent critique videos, you’ll appreciate that I love this type of plot. Each panel is a jittered plot and there is a line through the points for each category to indicate the median. No boxes. No bars. Just a simple jitter plot with a line for the median. Well done. I won’t go overboard with praise, they do list P-values out to 4 significant digits :) Let’s use figure 2f for our discussion. What intrigued me about this panel was the two-layered x-axis text. The labels on the “Invader toxin” line will come from the data frame. We might need to make a special variable for the label that would have values like The labels on the “Resident” line will require some more thinking. I could imagine making the panel as a facet with one facet for each of the WT and mutant resident strains. The WT and the ΔsrlAEB could be the facet titles and those can be moved to the bottom. But, I think that won’t really make the labels any easier. We’d still need to put the axis titles off to the left and add the bracket. I think it would ultimately be easier to add the text with The next element are those brackets. Save your email, I know there’s a package to draw these (and the significance bars). I generally prefer to draw them in with To add the text and brackets to the bottom of the plot (and probably the P values at the top of the plot), we’ll need to plot outside the panel. Step one will be to set the x and y-axis limits to match those in the plot. Next, we’ll want to add Thinking about those P-values, we’ll do a lot of the same things we did for the x-axis. Again, I’d use I would love to have time to do panels b through e, but I don’t think I’ll have that luxury this week. Let me know which set of panels from this figure you’d like me to work with by replying to this email! One other thing I want to point out about the figures in this paper. The methods section says everything was made in GraphPad Prism. I've never used Prism, but can usually tell people are using Prism because the styling of the plots is thick and ugly. I don't know what they're doing differently, but for a change from the typical Prism plots, these really looked nice.
|
Hey folks, This week I’ve been teaching one of my 3 day R workshops as part of my official teaching duties at the U of Michigan. I really enjoy teaching these classes! I offer recorded versions of these workshops that use microbiome data or other types of data to help motivate my teaching of R’s tidyverse packages. If you would like to purchase your own version of these workshop click on those links! Also, if you would like me to teach a live workshop to your group, reply to this email and...
Hey folks, If you missed it, on Wednesday I did a livestream where I made a stacked barplot and pronounced it good. No, I wasn’t drinking anything! But it’s a reminder to think about the question before finding the best data visualization strategy. I think this highlights the value of the constructive approach I’ve been trying to take to critiquing data visualizations. The first steps are to establish the question and figure out the question. If you aren’t a “regular”, I think you’re really...
Hey folks, As I mentioned last week, I’m exploring the possibility of holding live, in person, workshops again like I did before the pandemic. If this is something that interests you, please let me know. My thought would be to hold them at an affordable hotel near the Detroit airport (DTW). But, if you would like to host me to teach a workshop, I would be open to that as well. This week, I want to call your attention to a plot that I would not encourage you to make. This comes form “Targeted...