Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

work with orbitrap isotope ratio mass spectrometry data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

isoverse/isoorbi

Repository files navigation

CRAN statusDocumentationR-CMD-checkCodecov test coverage

Overview

The goal of the isoorbi R package is to help you process isotopoculemeasurements from anOrbitrap Isotope Solutions mass spectrometer.It can read both the.raw files (recommended approach) aswell as.isox output created by IsoX (legacy approach).

Installation

You can install the current CRAN version ofisoorbi with:

# install the isoorbi packageinstall.packages("isoorbi")# check/install the isoraw readerisoorbi::orbi_check_isoraw()

Important: the call toorbi_check_isoraw() installs theisorawreaderbuilt into this package, which uses Thermo’sRawFileReader tomake it possible to read .RAW files directly. During the installation,you will be asked to agree toThermo’s licenseagreementto proceed.

Development version

To use the latest updates, you can install the development version ofisoorbi fromGitHub. If you are on Windows,make sure to install the equivalent version ofRtools for yourversion of R (you can find out which version you have withgetRversion() from an R console - note that isoorbi requiresRversion 4.4 or newer).

# checks that you are set up to build R packages from sourceif (!requireNamespace("pkgbuild",quietly=TRUE)) {  install.packages("pkgbuild")}pkgbuild::check_build_tools()# installs the latest isoorbi package from GitHubif (!requireNamespace("pak",quietly=TRUE)) {  install.packages("pak")}pak::pak("isoverse/isoorbi")# check/install the isoraw readerisoorbi::orbi_check_isoraw()

Show me some code

Read raw data file

# load librarylibrary(isoorbi)# provide the path to your data folder here:my_data_folder<- file.path("project","data")# and search for raw files in that folderfile_paths<- orbi_find_raw(my_data_folder)# for this example, we use a small raw test file bundled with the# package instead (remove this line if working with your own data)file_paths<- orbi_get_example_files("nitrate_test_10scans.raw")# read the raw file incluing 2 of the raw spectraraw_files<-file_paths|>  orbi_read_raw(include_spectra= c(1,10))# aggregate the raw data (processes the read files)raw_agg<-raw_files|> orbi_aggregate_raw()# plot the spectraraw_agg|> orbi_plot_spectra()

Identify isotopcules

# identify isotopcules# these could also come from a data frame or a tsv/csv/excel fileraw_agg<-raw_agg|>  orbi_identify_isotopocules(isotopocules= c("M0"=61.9878,"15N"=62.9850,"17O"=62.9922,"18O"=63.9922    )  )# plot again, now with the isotopocules identifiedraw_agg|> orbi_plot_spectra()

Process data

# process raw files datadataset<-raw_agg|># check for satellite peaks  orbi_flag_satellite_peaks()|># filter out unidentified isotopocules# (happes automatically during define_basepeak as of version 1.5.3)  orbi_filter_isotopocules()|># define base peak  orbi_define_basepeak(basepeak_def="M0")# plot the resulting isotopocule ratiosdataset|> orbi_plot_raw_data(y=ratio)

Summarize results

# calculate ratios across scansresults<-dataset|> orbi_summarize_results(ratio_method="sum")# print resultsresults|> orbi_get_data(summary= c("isotopocule","ratio","ratio_sem"))# export results to excelresults|>  orbi_export_data_to_excel(file="data_summary.xlsx",# note: as of version 1.5.3, this is the default and does not need to# be specified explicitly anymoreinclude= c("file_info","summary")  )
uidxfilenameisotopoculeratioratio_sem
1nitrate_test_10scans15N0.00422410.0000980
1nitrate_test_10scans17O0.00131750.0000554
1nitrate_test_10scans18O0.00774920.0001622

For additional code, please check out ourExamples in the main menuatisoorbi.isoverse.org, and peruse thefull package structure below.

Package structure

Getting help

If you encounter a bug, please file an issue with a minimal reproducibleexample onGitHub.

For questions and other discussion, please use theisoorbi slackworkspace.

isoverse

This package is part of the isoverse suite of data tools for stableisotopes. If you like the functionality that isoverse packages provideto the geochemical community, please help us spread the word and includean isoverse or individual package logo on one of your posters or slides.All logos are posted in high resolution inthisrepository. If you have suggestionsfor new features or other constructive feedback, please let us know onthis shortfeeback form.

About

work with orbitrap isotope ratio mass spectrometry data

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp