Giter Site home page Giter Site logo

complex_figure_examples's People

Contributors

sdtaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

complex_figure_examples's Issues

Lessons learned from making plots

Various things I'm noticing. Maybe worth a blog post or something.

Things which are hard and should be avoided:

  1. Several very different plots in a single figure.

  2. Custom axis text labels. eg in cottrell 2020.

Steel 2021

Steel, Z. L., Goodwin, M. J., Meyer, M. D., Fricker, G. A., Zald, H. S. J., Hurteau, M. D., & North, M. P. (2021). Do forest fuel reduction treatments confer resistance to beetle infestation and drought mortality?. Ecosphere, 12(1), https://doi.org/10.1002/ecs2.3344

Figure 6
image

pretty complex image, though each panel by itself is straightforward. Will have to describe 2+ dataframes needed.
The legend is very complex as it mixes them from the 3 panels. Potentially the newest patchwork releases can do this.

Lindberg et al. 2020 figure 2

Lindberg, C. L., Hanslin, H. M., Schubert, M., Marcussen, T., Trevaskis, B., Preston, J. C., & Fjellheim, S. 2020. Increased above ground resource allocation is a likely precursor for independent evolutionary origins of annuality in the Pooideae grass subfamily. New Phytologist. https://doi.org/10.1111/nph.16666

image

Craven et al 2019 figure 5

Craven, D., Knight, T.M., Barton, K.E., Bialic-Murphy, L. and Chase, J.M., 2019. Dissecting macroecological and macroevolutionary patterns of forest biodiversity across the Hawaiian archipelago. Proceedings of the National Academy of Sciences, 116(33), pp.16436-16441. https://doi.org/10.1073/pnas.1901954116

Good example using position_dodge() with geom_point()
Fading effect showing the density of points is nice. Also good example showing how simple special characters are in the yaxis.

image

Janssen et al. 2020

Janssen, T., Fleischer, K., Luyssaert, S., Naudts, K. and Dolman, H., 2020. Drought resistance increases from the individual to the ecosystem level in highly diverse neotropical rain forest: a meta-analysis of leaf, tree and ecosystem responses to drought. Biogeosciences. https://doi.org/10.5194/bg-17-2621-2020

Figure 1 is really nice

  • 2 axis timeseries on the middle plot
  • interesting shading on the bottom plot. probably done with a large amount of points instead of a single line.

image

Yin et al. 2020

Yin, X., Niu, Y., van der Putten, P. E., & Struik, P. C. 2020. The Kok effect revisited. New Phytologist. https://doi.org/10.1111/nph.16638

Figure 4

  • using symbols and text instead of different colors to differentiate treatments

image

create some classic plots

dont necessarily need to find published ones for these

  • regression with equation/stats added using ggpmisc
  • bar plot with anova sig. stars
  • precip/temp plot with 2 y-axis

Ober et al. 2020

Ober, H.K., Jones, G.M., Gottlieb, I.G., Johnson, S.A., Smith, L., Brosi, B. and Fletcher, R.J., Jr. (2020), Bat community response to intensification of biomass production for bioenergy across the southeastern USA. Ecol Appl. Accepted Author Manuscript. doi:10.1002/eap.2155

This one is very straightforward and mostly a theme example

image

Thein et al. 2020

Thein, M. M., Wu, L. M., Corlett, R. T., Quan, R. C., & Wang, B. (2020). Changes in seed predation along a 2300‐m elevational gradient on a tropical mountain in Myanmar: a standardized test with 32 non‐native plant species. Ecography. https://doi.org/10.1111/ecog.05385

Figure 1

image

make readme a gallery

Can be done by just shoving all the images together. Links can point to respective pages.

No good way to have text by them like this though. Maybe a hover?

<img src="https://raw.githubusercontent.com/sdtaylor/complex_figure_examples/master/suggitt2019/suggitt2019_final.png" width="30%"> 
 <img src="https://raw.githubusercontent.com/sdtaylor/complex_figure_examples/master/yan2019/yan2019_final.png" width="30%"> 

Fig 2 Deagle et al 2018

Deagle, BE, Thomas, AC, McInnes, JC, et al. Counting with DNA in metabarcoding studies: How should we convert sequence reads to dietary data?. Mol Ecol. 2019; 28: 391– 406. https://doi.org/10.1111/mec.14734

Interesting things:

  • top and bottom x axis labels in the bar plots
  • the "true" columns in the barplots. they probably need to be 3 figures gridded together
  • placement of the large brackets
  • x-axis spacing of the boxplots

image

Miazgowicz et al. 2020

Miazgowicz K. L., Shocket M. S., Ryan S. J., Villena O. C., Hall R. J., Owen J., Adanlawo T., Balaji K., Johnson L. R., Mordecai E. A. and Murdock C. C. 2020. Age influences the thermal suitability of Plasmodium falciparum transmission in the Asian malaria vector Anopheles stephensi Proc. R. Soc. B. https://doi.org/10.1098/rspb.2020.1093

figure 2

Great example of plotting the curve of custom functions around observed data.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.