Coder Social home page Coder Social logo

brianeads / isoreader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from isoverse/isoreader

0.0 1.0 0.0 14.28 MB

Read IRMS (Isotope Ratio Mass Spectrometry) data files into R

Home Page: http://isoreader.isoverse.org

License: GNU General Public License v2.0

Makefile 0.07% R 99.93%

isoreader's Introduction

isoreader

CRAN_Status_Badge Git_Hub_Version Documentation Build Status AppVeyor Build Status Binder Binder

About

This package is intended as a unified one-stop command line interface to all common IRMS (isotope ratio mass spectrometry) file formats used in stable isotope geochemistry. It is an extension and highly stream-lined re-implemention of the proof-of-concept isoread package and is designed to fit into a larger framework of IRMS data tools that includes the web-based graphical user interface package isoviewer and the data processing and visualization pipeline isoprocessor.

isoreader enables the reading and processing of stable isotope data directly from the data files and thus provides a tool for platform-independent (Windows, Mac, Linux), efficient and reproducible data reduction. Although implemented in R, it can be used in both RMarkdown as well as Jupyter data processing notebooks and also provides functionality for easy export to Python using the shared R/Python feather file format. At present, it can read most Thermo dual inlet (.did, .caf) and continuous flow (.dxf, .cf) data files as well as Elementar continuous flow data archives (.iarc) with additional extensions for other file formats in the works. Due to the dynamic implementation and design based on the popular tidyverse style of R programming, isoreader is easily extendable, takes care of error catching to avoid pipeline breaks due to problems encountered in source data files (modeled after readr) and works great with tidyverse packages such as tidyr, dplyr and ggplot.

Installation

You can install isoreader from github with the devtools package (version > 1.13.2 required for bioconductor support).

# install.packages("devtools") # only needed once
devtools::install_github("isoverse/isoreader")

Functionality

Currently supported file types:

extension format type
.did Isodat Dual Inlet file format (newer) dual inlet
.caf Isodat Dual Inlet file format (older) dual inlet
.txt Nu Dual Inlet file format dual inlet
.di.rda Isoreader R Data Archive (deprecated) dual inlet
.di.rds Isoreader R Data Storage dual inlet
.cf Isodat Continuous Flow file format (older) continuous flow
.dxf Isodat Continuous Flow file format (newer) continuous flow
.iarc IonOS Continous Flow data archieve continuous flow
.cf.rda Isoreader R Data Archive (deprecated) continuous flow
.cf.rds Isoreader R Data Storage continuous flow
  • for a full reference of all available functions, see the Function Reference
  • for an example of how to work with continuos flow data files, see the vignette on Continuous Flow
  • for an example of how to work with dual inlet data files, see the vignette on Dual Inlet

Troubleshooting

If you run into a file format that is not currently supported or any issues with supported formats, please file a request/bug report in the issue tracker. Likewise if you run into any unexpected behaviour or uncaught errors. Most isoreader functionality is continuously tested on Unix and Windows systems using Travis and AppVeyor, respectively. This makes it possible to ensure proper functionality and catch issues quickly, however, sometimes something slips through or is not yet automatically tested. We try to make sure to fix such errors as soon as possible but ask for patience due to the small develoment team. If you have the skills and are willing to fix problems yourself, that’s great, please take a look at the development section below.

Development

If you are interested in helping with development, that’s fantastic! Please fork the repository and branch off from the dev branch since it contains the most up-to-date development version of isoreader. Make sure to write testthat tests for your work (stored in the tests/testthat directory). All tests can be run automatically and continuously during development to make it easier to spot any code problems on the go. The easiest way to run them is by running make auto_test in the isoreader directory from command line (it will test everything automatically in a completely separate R session).

Open Source

isoreader is and will always be fully open-source (i.e. free as in ‘freedom’ and free as in ‘free beer’) and is provided as is. The source code is released under GPL-2.

isoverse

This package is part of the isoverse suite of data tools for stable isotopes. If you like the functionality that isoverse packages provide to the geochemical community, please help us spread the word and include an isoverse or individual package logo on one of your posters or slides. All logos are posted in high resolution in the main isoverse repository.

isoreader's People

Contributors

japhir avatar sebkopf avatar

Watchers

 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.