Code Monkey home page Code Monkey logo

microraman's Introduction

Build Status

MicroRaman


The goal of this package is to provide a standardized and automated workflow for Raman spectra analysis.

If you use this package, please consider citing the original publication in which is was first used:

García-Timermans, C., Rubbens, P., Kerckhof, F. M., Buysschaert, B., Khalenkow, D., Waegeman, W., Skirtach, A. G. & Boon, N. (2018). Label-free Raman characterization of bacteria calls for standardized procedures. Journal of microbiological methods, 151, 69-75.

García‐Timermans, C., Rubbens, P., Heyse, J., Kerckhof, F.‐M., Props, R., Skirtach, A.G., Waegeman, W. and Boon, N. (2020), Discriminating Bacterial Phenotypes at the Population and Single‐Cell Level: A Comparison of Flow Cytometry and Raman Spectroscopy Fingerprinting. Cytometry. doi:10.1002/cyto.a.23952

Install the package:

library("devtools")
install_github("CMET-UGent/MicroRaman", build_vignettes = TRUE)

For exploring the functionalities, take a look at the vignette:

vignette("Demo", package = "MicroRaman")

Core functions

Functions Description Functional?
hs_import Import Thermo Galactic's spc file format data into the R environment YES
hs_preprocess Preprocesses the data using the Garcia-Timermans et al. (2020) workflow YES
hs_resample Resample hyperSpec object to a requested number of spectra YES
hs_contrast Calculate contrasts between spectra of specified groups of cells YES
hs_hclust Hierarchical clustering of Raman spectra (with or without bootstrap support) YES
hs_hclust_cutoff Visualization of distance cut-off in hclust plots YES
hs_type Clusters spectra using partitioning around medoids YES
hs_PCA Principal Component Analysis of Raman spectra YES
hs_tsne t-distributed stochastic neighbor embedding of Raman spectra YES
hs_phenoRam Calculation of Hill diversity numbers for each individual Raman spectrum YES
hs_coll_curve Checks sensitivity of Hill diversity calculations under various sample sizes YES
hs_RF Train Random Forest classifier to distinguish between groups of cells YES
hs_RF_pred Predict using Random Forest classifier on new data YES
hs_SCAdiss Calculates the spectral contrast angle (SCA) between all cells in a hyperSpec object YES

Convenience functions

Functions Description Functional?
hs_conv_mq Converts a hyperSpec::hyperSpec object directly to a MALDIquant::MassSpectrum object YES
mq_conv_hs Converts a MALDIquant::MassSpectrum object directly to a hyperSpec::hyperSpec object YES
hs_tidy_filenames Tidies up hyperspec spectral IDs YES
hs_SCA_conv_itol Convert SCA dissimilarity matrix to itol-compatible object NO
mq_plot NO
mq_baseline_plot NO
mq_iter_plot NO
intervalplot NO
model_fit_stats NO
pred_r_squared NO
PRESS NO
SCA Calculates the spectral contrast angle between two vectors YES
wlcutter NO

Available datasets

Some datasets are included in the package. They allow the examples and vigenttes to be run. They can be loaded using:

library("MicroRaman")
data("<name of dataset>")
Dataset name Data contents
hs_example Hyperspec object contaning single-cell data of 64 GFP expressing yeast cells

microraman's People

Contributors

fmkerckhof avatar rprops avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

microraman's Issues

Putative peak assignment algorithm

Based on current PR - only base functionality to include is to include peak assignment using reference database. This would need to be discussed how to best implement.

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.