Skip to content

Commit

Permalink
Addition of method to filter features based on quality assessment
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Jan 24, 2024
1 parent 548c248 commit 3815295
Show file tree
Hide file tree
Showing 21 changed files with 1,248 additions and 17 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: xcms
Version: 4.1.5
Version: 4.1.6
Title: LC-MS and GC-MS Data Analysis
Description: Framework for processing and visualization of chromatographically
separated and single-spectra mass spectral data. Imports from AIA/ANDI NetCDF,
Expand Down Expand Up @@ -87,7 +87,7 @@ URL: https://github.com/sneumann/xcms
BugReports: https://github.com/sneumann/xcms/issues/new
VignetteBuilder: knitr
biocViews: ImmunoOncology, MassSpectrometry, Metabolomics
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Collate:
'AllGenerics.R'
'functions-XChromatograms.R'
Expand Down Expand Up @@ -127,6 +127,7 @@ Collate:
'init.R'
'loadXcmsData.R'
'matchpeaks.R'
'method-filterFeatures.R'
'methods-Chromatogram.R'
'methods-IO.R'
'methods-MChromatograms.R'
Expand Down
7 changes: 6 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ importFrom("utils", "capture.output", "data")
import("methods")
importMethodsFrom("ProtGenerics", "peaks", "chromatogram", "writeMSData",
"polarity<-", "centroided", "isCentroided", "peaks<-",
"isolationWindowTargetMz", "quantify", "bin", "spectrapply")
"isolationWindowTargetMz", "quantify", "bin", "spectrapply", "filterFeatures")
importClassesFrom("ProtGenerics", "Param")
importFrom("BiocGenerics", "updateObject", "fileName", "subset",
"dirname", "dirname<-")
Expand Down Expand Up @@ -594,3 +594,8 @@ export("RDataParam")
export("PlainTextParam")
exportMethods("storeResults")

## filtering features things
export("RsdFilter")
export("DratioFilter")
export("PercentMissingFilter")
export("BlankFlag")
4 changes: 3 additions & 1 deletion R/DataClasses.R
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ setClass("xcmsPeaks", contains = "matrix")
.PROCSTEP.PEAK.FILLING <- "Missing peak filling"
.PROCSTEP.CALIBRATION <- "Calibration"
.PROCSTEP.FEATURE.GROUPING <- "Feature grouping"
.PROCSTEP.FEATURE.FILTERING <- "Feature filtering"
.PROCSTEPS <- c(
.PROCSTEP.UNKNOWN,
.PROCSTEP.PEAK.DETECTION,
Expand All @@ -198,7 +199,8 @@ setClass("xcmsPeaks", contains = "matrix")
.PROCSTEP.RTIME.CORRECTION,
.PROCSTEP.PEAK.FILLING,
.PROCSTEP.CALIBRATION,
.PROCSTEP.FEATURE.GROUPING
.PROCSTEP.FEATURE.GROUPING,
.PROCSTEP.FEATURE.FILTERING
)

############################################################
Expand Down
Loading

0 comments on commit 3815295

Please sign in to comment.