Code Monkey home page Code Monkey logo

plastisphere-metaanalysis's Introduction

Food or just a free ride? A meta-analysis reveals the global diversity of the Plastisphere

This repository contains instructions for reproducing the meta-analysis of Plastisphere studies performed in: Food or just a free ride? A meta-analysis reveals the global diversity of the Plastisphere (published in the ISME journal)
You can do this with only the studies that are included in the meta-analysis, or you can include new studies too (in order to evaluate how they fit with previous studies as well as whether they change any of the conclusions on the composition of the Plastisphere).

Please contact Robyn Wright with any questions.

All of the files that you need to reproduce the analyses presented in the meta-analysis are in the metaanalysis_files folder. Some of the larger files have been zipped to allow them to be uploaded here, so you should unzip them before trying to run anything. To unzip all files (in command line):

for i in paper_data/*.tar.bz2 ; do tar -jxvf $i ; done
for i in paper_data/agglom/*.tar.bz2 ; do tar -jxvf $i ; done
for i in paper_data/qiime_output/*.tar.bz2 ; do tar -jxvf $i ; done

You can also find them (unzipped) in this Figshare file. Note that the figures can only be found in the Figshare file as they were too large to upload to Github.

If you just want to read through the analyses, then you can find the .html file either in this Figshare file or you can unzip the .html file that is in the metaanalysis_files folder.

If you want to repeat the analysis (with or without the inclusion of additional studies) then you can follow the instructions in theRmarkdown and html files. If you are unfamiliar with Rmarkdown files, they allow you to run 'chunks' of code written in different languages within them, and this has therefore allowed all of the code used for the analysis to be included in a single document. (They also allow you to just run everything all at once, generating a .html output file, which theoretically should work as long as you have the files and packages that it is expecting, but we all know that that's not how science actually works).

Older analysis scripts (in the Older folder) used Jupyter notebooks or Python scripts to call R scripts. You can find these in the folder. Feel free to ask me questions if you'd like to use them, but I suggest that using the Rmarkdown file will be much easier.

plastisphere-metaanalysis's People

Contributors

r-wright-1 avatar

Stargazers

 avatar

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.