Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RMassBank_by_MaliRemorker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Environmental Cheminformatics
RMassBank_by_MaliRemorker
Commits
33d2dfdb
Commit
33d2dfdb
authored
5 years ago
by
Todor Kondic
Browse files
Options
Downloads
Patches
Plain Diff
Add Todor and msmsRead.parallel
parent
1db018c0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DESCRIPTION
+1
-1
1 addition, 1 deletion
DESCRIPTION
NAMESPACE
+1
-0
1 addition, 0 deletions
NAMESPACE
R/msmsRead.R
+1
-1
1 addition, 1 deletion
R/msmsRead.R
man/msmsRead.parallel.Rd
+89
-0
89 additions, 0 deletions
man/msmsRead.parallel.Rd
with
92 additions
and
2 deletions
DESCRIPTION
+
1
−
1
View file @
33d2dfdb
...
...
@@ -72,4 +72,4 @@ Collate:
'msmsRead.R'
'Isotopic_Annotation.R'
'zzz.R'
RoxygenNote: 6.1.
0
RoxygenNote: 6.1.
1
This diff is collapsed.
Click to expand it.
NAMESPACE
+
1
−
0
View file @
33d2dfdb
...
...
@@ -113,6 +113,7 @@ export(toMassbank)
export(toRMB)
export(updateSettings)
export(validate)
export(msmsRead.parallel)
exportClasses(mbWorkspace)
exportClasses(msmsWorkspace)
exportMethods(addProperty)
...
...
This diff is collapsed.
Click to expand it.
R/msmsRead.R
+
1
−
1
View file @
33d2dfdb
...
...
@@ -425,7 +425,7 @@ msmsRead.RAW <- function(w, xRAW = NULL, cpdids = NULL, mode, findPeaksArgs = NU
#' @seealso \code{\link{msmsWorkspace-class}},
#' \code{\link{msmsWorkflow}}
#' @author Michael Stravs, Eawag <michael.stravs@@eawag.ch>
#' @author
Erik Mueller, UFZ
#' @author
Todor Kondić, LCSB-ECI <todor.kondic@@uni.lu>
#' @export
msmsRead.parallel
<-
function
(
w
,
proc
,
outfile
=
""
,
filetable
=
NULL
,
files
=
NULL
,
cpdids
=
NULL
,
readMethod
,
mode
,
confirmMode
=
FALSE
,
useRtLimit
=
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
man/msmsRead.parallel.Rd
0 → 100644
+
89
−
0
View file @
33d2dfdb
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/msmsRead.R
\name{msmsRead.parallel}
\alias{msmsRead.parallel}
\title{Extracts and processes spectra from a specified file list, according to
loaded options and given parameters.}
\usage{
msmsRead.parallel(w, proc, outfile = "", filetable = NULL,
files = NULL, cpdids = NULL, readMethod, mode, confirmMode = FALSE,
useRtLimit = TRUE, Args = NULL, settings = getOption("RMassBank"),
progressbar = "progressBarHook", MSe = FALSE, plots = FALSE)
}
\arguments{
\item{w}{A \code{msmsWorkspace} to work with.}
\item{proc}{Number of processes to be used to exec the function.}
\item{outfile}{Filepath of the logging file. Defaults to stdout ("").}
\item{filetable}{The path to a .csv-file that contains the columns
"Files" and "ID" supplying the relationships between files and
compound IDs. Either this or the parameter "files" need to be
specified.}
\item{files}{A vector or list containing the filenames of the files
that are to be read as spectra. For the IDs to be inferred
from the filenames alone, there need to be exactly 2
underscores.}
\item{cpdids}{A vector or list containing the compound IDs of the
files that are to be read as spectra. The ordering of this and
\code{files} implicitly assigns each ID to the corresponding
file. If this is supplied, then the IDs implicitly named in
the filenames are ignored.}
\item{readMethod}{Several methods are available to get peak lists
from the files. Currently supported are "mzR", "xcms",
"MassBank" and "peaklist". The first two read MS/MS raw data,
and differ in the strategy used to extract peaks. MassBank will
read existing records, so that e.g. a recalibration can be
performed, and "peaklist" just requires a CSV with two columns
and the column header "mz", "int".}
\item{mode}{\code{"pH", "pNa", "pM", "pNH4", "mH", "mM", "mFA"} for
different ions ([M+H]+, [M+Na]+, [M]+, [M+NH4]+, [M-H]-, [M]-,
[M+FA]-).}
\item{confirmMode}{Defaults to false (use most intense
precursor). Value 1 uses the 2nd-most intense precursor for a
chosen ion (and its data-dependent scans) , etc.}
\item{useRtLimit}{Whether to enforce the given retention time
window.}
\item{Args}{A list of arguments that will be handed to the
xcms-method findPeaks via do.call}
\item{settings}{Options to be used for processing. Defaults to the
options loaded via \code{\link{loadRmbSettings}} et al. Refer
to there for specific settings.}
\item{progressbar}{The progress bar callback to use. Only needed
for specialized applications. Cf. the documentation of
\code{\link{progressBarHook}} for usage.}
\item{MSe}{A boolean value that determines whether the spectra were
recorded using MSe or not}
\item{plots}{A boolean value that determines whether the
pseudospectra in XCMS should be plotted}
}
\value{
The \code{msmsWorkspace} with msms-spectra read.
}
\description{
The filenames of the raw LC-MS runs are read from the array \code{files}
in the global enviroment.
See the vignette \code{vignette("RMassBank")} for further details about the
workflow.
}
\seealso{
\code{\link{msmsWorkspace-class}},
\code{\link{msmsWorkflow}}
}
\author{
Michael Stravs, Eawag <michael.stravs@eawag.ch>
Todor Kondić, LCSB-ECI <todor.kondic@uni.lu>
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment