MsQuality
Update the following URL to point to the GitHub repository of the package you wish to submit to Bioconductor
- Repository: https://github.com/tnaake/MsQuality
Confirm the following by editing each check box to '[x]'
-
[x] I understand that by submitting my package to Bioconductor, the package source and all review commentary are visible to the general public.
-
[x] I have read the Bioconductor Package Submission instructions. My package is consistent with the Bioconductor Package Guidelines.
-
[x] I understand Bioconductor Package Naming Policy and acknowledge Bioconductor may retain use of package name.
-
[x] I understand that a minimum requirement for package acceptance is to pass R CMD check and R CMD BiocCheck with no ERROR or WARNINGS. Passing these checks does not result in automatic acceptance. The package will then undergo a formal review and recommendations for acceptance regarding other Bioconductor standards will be addressed.
-
[x] My package addresses statistical or bioinformatic issues related to the analysis and comprehension of high throughput genomic data.
-
[x] I am committed to the long-term maintenance of my package. This includes monitoring the support site for issues that users may have, subscribing to the bioc-devel mailing list to stay aware of developments in the Bioconductor community, responding promptly to requests for updates from the Core team in response to changes in R or underlying software.
-
[x] I am familiar with the Bioconductor code of conduct and agree to abide by it.
I am familiar with the essential aspects of Bioconductor software management, including:
- [x] The 'devel' branch for new packages and features.
- [x] The stable 'release' branch, made available every six months, for bug fixes.
- [x] Bioconductor version control using Git (optionally via GitHub).
For questions/help about the submission process, including questions about the output of the automatic reports generated by the SPB (Single Package Builder), please use the #package-submission channel of our Community Slack. Follow the link on the home page of the Bioconductor website to sign up.
Hi @tnaake
Thanks for submitting your package. We are taking a quick look at it and you will hear back from us soon.
The DESCRIPTION file for this package is:
Package: MsQuality
Type: Package
Title: MsQuality - Quality metric calculation from Spectra objects
Version: 0.99.2
Date: 2022-09-20
Authors@R: c(person(given = "Thomas", family = "Naake",
email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7917-5580")),
person(given = "Johannes", family = "Rainer",
email = "[email protected]", role = "aut",
comment = c(ORCID = "0000-0002-6977-7147")))
Maintainer: Thomas Naake <[email protected]>
VignetteBuilder: knitr
Description: MsQuality enables to calculate quality metrics of mass spectrometry
data. It is build upon Spectra objects.
Depends:
R (>= 4.1.0)
Imports:
ggplot2 (>= 3.3.5),
htmlwidgets (>= 1.5.3),
methods (>= 4.1.0),
plotly (>= 4.9.4.1),
ProtGenerics (>= 1.24.0),
shiny (>= 1.6.0),
shinydashboard (>= 0.7.1),
Spectra (>= 1.2.0),
stringr (>= 1.4.0),
tibble (>= 3.1.4),
tidyr (>= 1.1.3)
Suggests:
BiocGenerics (>= 0.24.0),
BiocStyle (>= 2.6.1),
dplyr (>= 1.0.5),
knitr (>= 1.11),
msdata (>= 0.32.0),
rmarkdown (>= 2.7),
S4Vectors (>= 0.29.17),
testthat (>= 2.2.1)
biocViews: Metabolomics, Proteomics, MassSpectrometry, QualityControl
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.2.0
A reviewer has been assigned to your package. Learn what to expect during the review process.
IMPORTANT: Please read this documentation for setting up remotes to push to git.bioconductor.org. It is required to push a version bump to git.bioconductor.org to trigger a new build.
Bioconductor utilized your github ssh-keys for git.bioconductor.org access. To manage keys and future access you may want to active your Bioconductor Git Credentials Account
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
[email protected]:packages/MsQuality to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Hi @tnaake - could you please address the issue mentioned in the build report. They should be easy to fix.
Just a few quick comments that you can already address before the more in-depth review:
- You don't need to install
devtoolsto install packages from GitHub, you only needremotes. You could also useBiocManager::install("tnaake/MsQuality")to install from GitHub, but you are asked to provide instructions to (also) install from Bioconductor. Your installation instructions could thus be:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
if (!requireNamespace("remotes", quietly = TRUE))
install.packages("remotes")
## to install from Bioconductor
BiocManager::install("MsQuality")
## to install from GitHub
BiocManager::install("tnaake/MsQuality")
-
Could you also mention other packages that address MS quality control that are available in Bioconductor. proteoQC comes to mind, but there might be another or two, which you should be able to find with the biocViews.
-
Why does
qualityMetrics()need an object of classSpectraas input? It only returns a vector of QC metric names. I tried withsps_sciex,sps_c_hilic,sps_c_rplcand the manually createdsps, and I get the same set of metrics. -
We already had the discussion about 1 sample or all samples per Spectra object in Heidelberg. In you
sps_c_rplcandsps_c_hilicexample objects seem to confirm that you don't limit yourself to one sample/file per Spectra object, which is good (the other would be wrong). Why to you have two in your vignette, and concatenate the metrics, as opposed to concatenating the Spectra object:
calculateMetrics(c(sps_c_hilic, sps_c_rplc))
Both are valid, just curious why you illustrate it explicitly, and making sure my understanding of the sample per Spectra is correct.
Received a valid push on git.bioconductor.org; starting a build for commit id: 90f179d3c7246aa4190fe8449af8d17f7125e051
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR, skipped". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
[email protected]:packages/MsQuality to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 8458d35883f1c64d9b20f5204ef8030dd2cbe387
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
[email protected]:packages/MsQuality to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 6fa1d4c62124058549bffe4e364fe68224b0a024
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
Congratulations! The package built without errors or warnings on all platforms.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
[email protected]:packages/MsQuality to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Dear @lgatto
many thanks for this initial screen. I have now fixed the issues in the build report and addressed your comments.
-
devtools/remotes: I changed this accordingly in the vignette and theREADME.mdfile. -
other packages: I have added a subsection in the vignette that mentions other packages in Bioconductor.proteoQCdoesn't seem to be maintained any longer (at least it's only available via the RIKEN and TU Dortmund mirrors). -
qualityMetrics(): We have implemented this in this way since we would like to get all available metrics for this kind of object. As you may know, we have also included some functionality forMsExperimentobjects in another branch in the GitHub repository. We are planning to merge this branch into themainbranch onceMsExperimentis accepted in Bioconductor. ThequalityMetrics()will allow us in future to get a vector of class-specific metrics either forSpectra,MsExperimentor other objects in future versions (e.g.Chromatogram). -
calculateMetrics(c(sps_c_hilic, sps_c_rplc)): Good point, I think this has something to do with how the data of the article (Lee et al. 2019) we are using in the vignette is organized. This is basically a matrix with samples in columns and metabolites in rows. The metabolites have an appendix specifying if the metabolite was measured by RPLC or HILIC (the metabolites were measured via both methods, such that we have metabolite quanitifaction for each metabolite from both RPLC and HILIC). I understand that this might be a bit complicated for the reader and I show the creation of theSpectraobject only in theLee2019-data.Rfile. I have rewritten this such that we now creacte a newSpectraobject (c()) in the beginning and pass tocalculateMetricsthe RPLC+HILIC-combinedSpectraobject. Do you think it's better this way? I thought that it might be nice to use a real-world data set to showcase the calculation rather than only with the data sets frommsdatabut this can be changed of course if you think this might be too complicated/confusing here.
Many thanks again for this initial (and future) review!
Following up from your previous replies, yes, I think the update in
the vignette where you combine the Spectra first is nice and clean.
General package development
- Please add
.githubto a.Rbuildignorefile so that it doesn't end up in the package tar file.
The DESCRIPTION file
Here are a couple of notes from BiocCheck that you might want to
address:
- The Description field in the DESCRIPTION is made up by less than 3 sentences. Please consider expanding this field, and structure it as a full paragraph.
- License 'GPL (>= 3)' is reported as unknown by BiocCheck. I think this would go away with GPL-3 which at the moment would be equivalent... and if one day there's a version 4, you might want to read it and update accordingly.
- Update R version dependency from 4.1.0 to 4.2.0.
Some additional suggestions:
- You could add a
BugReportsfield in your DESCRIPTION file to point to your GitHub issues. - You could add a
URLfield in your DESCRIPTION file to point to your GitHub repo (or pkgdown if you plan to create one, which I recommend).
The NEWS file
- Do you know that you can use markdown for your news and have
NEWS.md. This plays well with a pkgdown site.
Package data
- Installed package size is 7.5Mb, and data is 2.7Mb. Could you reduce
the size of the data? An alternative would be to move Lee 2019 data
to
msdata(or better, later toMsDataHubthat will put it on ExperimentHub).
Documentation
-
Lee_2019 documentation: the 'Source' section is a bit weird formatted as comments and code. If you want to keep it like that, I would suggest to remove the
##in front of the text, and you might be able to use markdown syntax for code chunks. A clean alternative would be to put the script ininst/scripts/and point to it in the manual page. -
You have a \dontrun{} in you shinyMsQuality example. You could also enclose
shinyMsQuality(qc = qc)in anif (interactive())so that the example is run by the user interactively.
Received a valid push on git.bioconductor.org; starting a build for commit id: c1556102bdfa43701feb209d7ac7b1b1f6b95b7d
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
Congratulations! The package built without errors or warnings on all platforms.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
[email protected]:packages/MsQuality to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Dear @lgatto,
many thanks again for the review! I have gone through your points and changed the package accordingly. Please see here for my responses:
-
.github: added to
.Rbuildignore -
Description in
DESCRIPTION: I have extended the description. -
License in
DESCRIPTION: changed toGPL-3. -
R version in
DESCRIPTION: dependency bumped to 4.2.0. -
BugReports and URL in
DESCRIPTION: I added the links to the github repo. -
NEWS file: changed to .md format
package size: I have discussed this with @jorainer and we agreed to transfer the example data to
MsDataHubonceMsDataHubis ready. Could we transfer the dataset after acceptance ofMsQualityandMsDataHubto Bioconductor ? As a side note, I was a bit astonished by the large file size of thedocpart, which is due toplotlygraphics. I have addedpartial_bundletoplotlygraphics which reduced the file size substantially. -
Lee2019: I have added a script in
inst/scriptsand am refering to it in theLee2019-data.Rfile. -
dontrun: I have changed this to
if (interactive())as suggested.
Many thanks again for having a detailed look into the package!
Best, tnaake
Great. Thank you for your contribution!
Your package has been accepted. It will be added to the Bioconductor nightly builds.
Thank you for contributing to Bioconductor!
Reviewers for Bioconductor packages are volunteers from the Bioconductor community. If you are interested in becoming a Bioconductor package reviewer, please see Reviewers Expectations.
Thank you once more for your review!
The master branch of your GitHub repository has been added to Bioconductor's git repository.
To use the git.bioconductor.org repository, we need an 'ssh' key to associate with your github user name. If your GitHub account already has ssh public keys (https://github.com/tnaake.keys is not empty), then no further steps are required. Otherwise, do the following:
See further instructions at
https://bioconductor.org/developers/how-to/git/
for working with this repository. See especially
https://bioconductor.org/developers/how-to/git/new-package-workflow/ https://bioconductor.org/developers/how-to/git/sync-existing-repositories/
to keep your GitHub and Bioconductor repositories in sync.
Your package will be included in the next nigthly 'devel' build (check-out from git at about 6 pm Eastern; build completion around 2pm Eastern the next day) at
https://bioconductor.org/checkResults/
(Builds sometimes fail, so ensure that the date stamps on the main landing page are consistent with the addition of your package). Once the package builds successfully, you package will be available for download in the 'Devel' version of Bioconductor using BiocManager::install("MsQuality"). The package 'landing page' will be created at
https://bioconductor.org/packages/MsQuality
If you have any questions, please contact the bioc-devel mailing list (https://stat.ethz.ch/mailman/listinfo/bioc-devel); this issue will not be monitored further.