Code Monkey home page Code Monkey logo

gcms-data-plot's Introduction

gcms-data-plot

Visualizations of GCMS data from our plant samples.

This Jupyter notebook to create plots of our GCMS data was written by Manvitha Ponnapati to visualize data collected by John De La Parra.

Example GCMS data plot

What the heck is Jupyter?

  • Jupyter is an interactive development system for code + data + comments. Useful for small scientific and math projects you want to analyze / visualize.
  • Jupyter starts a local web server + kernel that will let you edit & run your 'document'.
  • Jupyter documents are portable and easily shareable. They are in a human readable text format (JSON).
  • We use Jupyter because we frequently have to edit this bit of code to parse the data and make these plots for publication.

Installing Jupyter

  • Install docs
  • Install steps used on OSX 10.14.2 (with Python 3.6.5 already installed globally)
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
python3 -m pip install bokeh
python3 -m pip install pandas
python3 -m pip install numpy

Using Jupyter

This is how we run our notebook. Make sure you have pre-processed the GCMS data into a data.csv file.

jupyter notebook gcms.ipynb

Data pre-processing

(Still TBD by Rob when he gets Manu's notes)

  1. I have a script somewhere that automatically splits a CSV into multiple small csv files based on where the CSV file has a line With Path etc.
  2. There are some cases when the samples all dont have the equal timestamps - like the last sample might be missing for some. In those cases - I do an assert and append an empty row to the dataframe if the dataframe files.
  3. I recommend usually adding the indexes yourself for different samples so you know exactly what you are plotting.

gcms-data-plot's People

Contributors

rbaynes avatar

Watchers

 avatar  avatar  avatar  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.