- Fix missing ProtGenerics dependency.
- Add parameter
scalePeaks
toplotSpectraMirror
to allow scaling peak intensities before plotting.
- Add parameter
addOriginalQueryIndex
tomatchSpectra()
that allows to add an additional spectra variable to thequery
Spectra
with the index in the original object (issue #114).
- Import
setBackend()
generic fromProtGenerics
.
- Add
SingleMatchParam
forfilterMatches
to allow selection of (at most) a single match to a target element for each query element. - Add new methods
queryVariables
andtargetVariables
to extract the names of variables (columns) of query and target.
- Update the
Spectra
objects within the package to the new versions.
- Add examples and a section to the vignette explaining the use of
createStandardMixes
.
- Addition of global function
createStandardMixes
.
- Fix
.randomize_grouping
to prevent collapsing of matrix when input in a single column.
- Add function
.group_standards_iteration
and.randomize_grouping
to allow iteration through matrix of standards and group them if they are dissimilar enough.
- Fix issue in the vignette. Thanks @RemyDeB for the fix.
- Update objects to the new definitions in
Spectra
version 1.11.10.
- Add functions
targetIndex
andqueryIndex
to extract the indices of the matched pairs query-target. - Add examples and a section to the vignette explaining their use.
- Add support to
matchValues
for matching betweendata.frame
andSpectra
objects.
- Fix vignette, examples and unit tests using
QFeatures
. - Import
query
fromAnnotationHub
.
- Add possibility to select the spectra variable for retention time matching in
matchSpectra
(issue #98).
- Add
mzR
as suggested package to ensure package vignettes can be built.
- Small changes in
matchSpectra
to avoid unnecessary object creation. - Use
backendBpparam
to disable parallel processing ofmatchSpectra
if the backend does not support it.
scoreVariables
function to return the names of the score variables in aMatched
object.
- Fix issues on BioC build machines.
matchSpectra
: support aCompDb
with parametertarget
.- Add
CompAnnotionSource
classes to support definition of references to annotation resources. - Add
CompDbSource
class defining a reference to aCompDb
database. matchSpectra
: support forCompDbSource
with parametertarget
.
- Extend
filterMatches
framework (issue #86).ScoreThresholdParam
added to perform filtering the matches based on a threshold for the scores.
lapply
andendoapply
methods (issue #84).lapply
allows to apply any function to each subset of matches for eachquery
element and returns the correspondinglist
of results.endoapply
is similar but applies a function returning aMatched
and returns aMatched
representing updated matches.
- Extend
filterMatches
framework (issue #81).SelectMatchesParam
andTopRankedMatchesParam
added to perform respectively manual filtering and keeping only the best ranked matches for eachquery
element.
- Highlight query and target spectra in different colors for
validateMatchedSpectra
. query
and/ortarget
of typeSummarizedExperiment
supported forMatched
objects.MatchedSummarizedExperiment
class removed.query
and/ortarget
of typeQFeatures
supported forMatched
objects.- Support
SummarizedExperiment
andQFeatures
for bothquery
andtarget
parameters inmatchValues
.
- Improve plotly-based mirror plots in
validateMatchedSpectra
.
- Fix issue about
matchedData
not working for result objects ofmatchValues, Mz2MassParam
andmatchValues, Mz2MassRtParam
(issue #69).
- Update plotly-based mirror plots in
validateMatchedSpectra
.
- Change
matchMz
intomatchValues
(issue #65).
- Add
validateMatchedSpectra
for manual inspection and validation of anMatchedSpectra
object.
- Add
setBackend
forMatchedSpectra
objects.
- Add
matchMz, Mz2MassParam
andmatchMz, Mz2MassRtParam
. (issue #56).
- Add formula matching functions.
- Add parameter
...
toplotSpectraMirror
. - Definitions of "
score
", "score_rt
" changed to be the difference (with sign) between query and target m/z or retention time respectively. "ppm_error"
becomes error without sign.
- Add matches m/z error (variable
"ppm_error"
) to theMatched
object returned bymatchMz
.
- Address Herve's comments.
- Fix calculation of correct number of rows/columns of the plot in
plotSpectraMirror
.
- Add parameter
toleranceRt
toCompareSpectraParam
to enable retention time-based pre-filtering (issue #35).
- Add support for manually defined adducts to
Mass2MzParam
(issue #41).
- Add parameter
THRESHFUN_REVERSE
toMatchForwardReverseParam
to allow filtering results on forward and reverse score (issue #37).
- Performance improvement in
matchSpectra
if no precursor m/z filter is used (issue #38). - Report number of matching peaks in
matchSpectra,MatchForwardReverseParam
(issue #36).
- Fix bug in
matchSpectra
that was wrongly calculating the acceptable m/z difference iftolerance
was > 0 (issue #34). Fix proposed by Hugo Varet (@hvaret).
- Improve performance of
matchMz
. - Rename
queryColumn
andtargetColumn
toqueryColname
andtargetColname
.
- Support
data.frame
,DataFrame
andmatrix
inmatchMz
. - Add
addMatches
andfilterMatches
functions.
- Fixes in
MatchedSpectra
.
- Add
MatchedSummarizedExperiment
.
- Rename
TargetMass2MzParam
toMass2MzParam
.
- Add support for matching m/z against m/z and m/z in addition to retention
times to
matchMz
.
- Fix vignette, documentations and unit tests.