Skip to content

WBS-TW/enviGCMS

This branch is 54 commits behind yufree/enviGCMS:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
ActionsGo Bot
Jul 20, 2021
1ce6f28 · Jul 20, 2021
Dec 18, 2020
Jul 20, 2021
May 6, 2020
Jul 20, 2021
Mar 17, 2021
Jun 24, 2021
Oct 25, 2017
Mar 16, 2021
Feb 3, 2021
Nov 8, 2019
Feb 28, 2019
Mar 17, 2021
Jun 24, 2021
Jun 24, 2021
Mar 16, 2021
Dec 20, 2018
Mar 4, 2019

Repository files navigation

enviGCMS: GC-MS Data Analysis for Environmental Science

CRAN status Download counter Project Status: Active - The project has reached a stable, usable state and is being actively developed. Build status

enviGCMS provides functions for GC/LC-MS data analysis for environmental sciences.

Installation

You can either use the stable version of enviGCMS from CRAN,

install.packages("enviGCMS")

or the current development snapshot from this GitHub repository:

remotes::install_github("yufree/enviGCMS")

Usage

Check this vignette for Data analysis of GC-MS and LC-MS in Environmental Science.

Check this vignette for Pooled QC analysis in Environmental Science.

  • get the mean and RSD of one sample for 5 technique replicate
# enviGCMS use functions in xcms to import the data, just type the path to your single sample
data1 <- enviGCMS:::getmd(‘sample1-1’)
data2 <- enviGCMS:::getmd(‘sample1-2’)
data3 <- enviGCMS:::getmd(‘sample1-3’)
data4 <- enviGCMS:::getmd(‘sample1-4’)
data5 <- enviGCMS:::getmd(‘sample1-5’)
  • get the mean
data <- (data1+data2+data3+data4+data5)/5
  • get the standard deviation
datasd <- sqrt(((data1-data)^2+(data2-data)^2+(data3-data)^2+(data4-data)^2+(data5-data)^2)/4)
  • get the RSD
databrsd <- datasd/data
  • plot the smooth scatter
plotsms(datarsd)
  • plot the heatmap
plotms(data)
  • plot the mz-rt scatter plot
plotmz(data)
  • plot the boundary model
findline(data)

Detailed usage of those functions in Environmental analysis could be found in this paper and the vignettes in this package.

About

GC/LC-MS data analysis for environmental science

Resources

Citation

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%