-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
squallms #3387
Comments
Hi @wkumler Thanks for submitting your package. We are taking a quick The DESCRIPTION file for this package is:
|
Please include an |
Your package has been added to git.bioconductor.org to continue the IMPORTANT: Please read this documentation for setting Bioconductor utilized your github ssh-keys for git.bioconductor.org |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. On one or more platforms, the build results were: "skipped, ERROR". Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
Received a valid push on git.bioconductor.org; starting a build for commit id: 9115a56d52d5371613242f22093329a3208a7f5e |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. On one or more platforms, the build results were: "ERROR". Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
Received a valid push on git.bioconductor.org; starting a build for commit id: f3c495c697f29acb0665a6e1ce8a73b11cec492e |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. On one or more platforms, the build results were: "ERROR". Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
Received a valid push on git.bioconductor.org; starting a build for commit id: d62e83477270529f4f08b48b98f696875cc544e4 |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. Congratulations! The package built without errors or warnings Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
A reviewer has been assigned to your package for an indepth review. |
Hi @wkumler, Just a heads up that I won't begin the review until after the forthcoming BioC 3.19 release (scheduled for May 1). Thanks for your understanding, |
Hi Pete, Yeah, I figured! Was hoping to sneak in under the code freeze deadline but totally understandable that you'd like to give it more review time. I appreciate the work you put in on Bioconductor! -Will |
Hi @wkumler, Thank you for submitting squallms to Bioconductor and thanks for your patience awaiting this review. Overall, the package is in good shape and close to being ready for acceptance. In my review below I have separated the issues into Required and Recommended points that I would ask you to address before the package can be accepted. Cheers, Required
# Using the example from `?labelFeatsManual
> library(squallms)
> library(xcms)
> library(dplyr)
> library(MSnbase)
> mzML_files <- system.file("extdata", package = "RaMS") %>%
+ list.files(full.names = TRUE, pattern = "[A-F].mzML")
> register(BPPARAM = SerialParam())
> cwp <- CentWaveParam(snthresh = 0, extendLengthMSW = TRUE, integrate = 2)
> obp <- ObiwarpParam(binSize = 0.1, response = 1, distFun = "cor_opt")
> pdp <- PeakDensityParam(
+ sampleGroups = 1:3, bw = 12, minFraction = 0,
+ binSize = 0.001, minSamples = 0
+ )
> xcms_filled <- mzML_files %>%
+ readMSData(msLevel. = 1, mode = "onDisk") %>%
+ findChromPeaks(cwp) %>%
+ adjustRtime(obp) %>%
+ groupChromPeaks(pdp) %>%
+ fillChromPeaks(FillChromPeaksParam(ppm = 5))
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 198 regions of interest ... OK: 147 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 232 regions of interest ... OK: 166 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 218 regions of interest ... OK: 176 found.
Sample number 2 used as center sample.
Aligning LB12HL_AB.mzML.gz against LB12HL_CD.mzML.gz ... OK
Aligning LB12HL_EF.mzML.gz against LB12HL_CD.mzML.gz ... OK
Applying retention time adjustment to the identified chromatographic peaks ... OK
[===============================================================================================================================================================] 100/100 (100%) in 0s
Defining peak areas for filling-in .... OK
Start integrating peak areas from original files
Requesting 57 peaks from LB12HL_AB.mzML.gz ... got 52.
Requesting 46 peaks from LB12HL_CD.mzML.gz ... got 45.
Requesting 41 peaks from LB12HL_EF.mzML.gz ... got 40.
> peak_data <- makeXcmsObjFlat(xcms_filled)
> if(interactive()){
+ manual_labels <- labelFeatsManual(peak_data)
+ }
Grabbing raw MS1 data
|===============================================================================================================================================================================| 100%
Total time: 0.32 secs
Error in setGraphicsEventEnv(which, as.environment(list(...))) :
this graphics device does not support event handling Session infosessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#> setting value
#> version R version 4.4.0 (2024-04-24)
#> os macOS Sonoma 14.4.1
#> system aarch64, darwin20
#> ui X11
#> language (EN)
#> collate en_US.UTF-8
#> ctype en_US.UTF-8
#> tz Australia/Melbourne
#> date 2024-05-16
#> pandoc 3.1.11 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/aarch64/ (via rmarkdown)
#>
#> ─ Packages ───────────────────────────────────────────────────────────────────
#> ! package * version date (UTC) lib source
#> P abind 1.4-5 2016-07-21 [?] CRAN (R 4.4.0)
#> P affy 1.83.0 2024-05-04 [?] Bioconduc~
#> P affyio 1.75.0 2024-05-04 [?] Bioconduc~
#> P AnnotationFilter 1.29.0 2024-05-04 [?] Bioconduc~
#> P Biobase * 2.65.0 2024-05-04 [?] Bioconduc~
#> P BiocGenerics * 0.51.0 2024-05-04 [?] Bioconduc~
#> P BiocManager 1.30.23 2024-05-04 [?] CRAN (R 4.4.0)
#> P BiocParallel * 1.39.0 2024-05-04 [?] Bioconduc~
#> P cli 3.6.2 2023-12-11 [?] CRAN (R 4.4.0)
#> P clue 0.3-65 2023-09-23 [?] CRAN (R 4.4.0)
#> P cluster 2.1.6 2023-12-01 [3] CRAN (R 4.4.0)
#> P codetools 0.2-20 2024-03-31 [3] CRAN (R 4.4.0)
#> P colorspace 2.1-0 2023-01-23 [?] CRAN (R 4.4.0)
#> P crayon 1.5.2 2022-09-29 [?] CRAN (R 4.4.0)
#> P DBI 1.2.2 2024-02-16 [?] CRAN (R 4.4.0)
#> P DelayedArray 0.31.1 2024-05-07 [?] Bioconduc~
#> P digest 0.6.35 2024-03-11 [?] CRAN (R 4.4.0)
#> P doParallel 1.0.17 2022-02-07 [?] CRAN (R 4.4.0)
#> P dplyr * 1.1.4 2023-11-17 [?] CRAN (R 4.4.0)
#> P evaluate 0.23 2023-11-01 [?] CRAN (R 4.4.0)
#> P fansi 1.0.6 2023-12-08 [?] CRAN (R 4.4.0)
#> P fastmap 1.1.1 2023-02-24 [?] CRAN (R 4.4.0)
#> P foreach 1.5.2 2022-02-02 [?] CRAN (R 4.4.0)
#> P fs 1.6.4 2024-04-25 [?] CRAN (R 4.4.0)
#> P generics 0.1.3 2022-07-05 [?] CRAN (R 4.4.0)
#> P GenomeInfoDb 1.41.0 2024-05-04 [?] Bioconduc~
#> P GenomeInfoDbData 1.2.12 2024-05-15 [?] Bioconductor
#> P GenomicRanges 1.57.0 2024-05-04 [?] Bioconduc~
#> P ggplot2 3.5.1 2024-04-23 [?] CRAN (R 4.4.0)
#> P glue 1.7.0 2024-01-09 [?] CRAN (R 4.4.0)
#> P gtable 0.3.5 2024-04-22 [?] CRAN (R 4.4.0)
#> P hms 1.1.3 2023-03-21 [?] CRAN (R 4.4.0)
#> P htmltools 0.5.8.1 2024-04-04 [?] CRAN (R 4.4.0)
#> P httr 1.4.7 2023-08-15 [?] CRAN (R 4.4.0)
#> P igraph 2.0.3 2024-03-13 [?] CRAN (R 4.4.0)
#> P impute 1.79.0 2024-05-04 [?] Bioconduc~
#> P IRanges 2.39.0 2024-05-04 [?] Bioconduc~
#> P iterators 1.0.14 2022-02-05 [?] CRAN (R 4.4.0)
#> P jsonlite 1.8.8 2023-12-04 [?] CRAN (R 4.4.0)
#> P knitr 1.46 2024-04-06 [?] CRAN (R 4.4.0)
#> P lattice 0.22-6 2024-03-20 [3] CRAN (R 4.4.0)
#> P lazyeval 0.2.2 2019-03-15 [?] CRAN (R 4.4.0)
#> P lifecycle 1.0.4 2023-11-07 [?] CRAN (R 4.4.0)
#> P limma 3.61.0 2024-05-04 [?] Bioconduc~
#> P magrittr 2.0.3 2022-03-30 [?] CRAN (R 4.4.0)
#> P MALDIquant 1.22.2 2024-01-22 [?] CRAN (R 4.4.0)
#> P MASS 7.3-60.2 2024-04-24 [3] local
#> P MassSpecWavelet 1.71.0 2024-05-04 [?] Bioconduc~
#> P Matrix 1.7-0 2024-03-22 [3] CRAN (R 4.4.0)
#> P MatrixGenerics 1.17.0 2024-05-04 [?] Bioconduc~
#> P matrixStats 1.3.0 2024-04-11 [?] CRAN (R 4.4.0)
#> P MetaboCoreUtils 1.13.0 2024-05-04 [?] Bioconduc~
#> P MsCoreUtils 1.17.0 2024-05-04 [?] Bioconduc~
#> P MsExperiment 1.7.0 2024-05-04 [?] Bioconduc~
#> P MsFeatures 1.13.0 2024-05-04 [?] Bioconduc~
#> P MSnbase * 2.31.0 2024-05-04 [?] Bioconduc~
#> P MultiAssayExperiment 1.31.1 2024-05-04 [?] Bioconduc~
#> P munsell 0.5.1 2024-04-01 [?] CRAN (R 4.4.0)
#> P mzID 1.43.0 2024-05-04 [?] Bioconduc~
#> P mzR * 2.39.0 2024-05-04 [?] Bioconduc~
#> P ncdf4 1.22 2023-11-28 [?] CRAN (R 4.4.0)
#> P pcaMethods 1.97.0 2024-05-04 [?] Bioconduc~
#> P pillar 1.9.0 2023-03-22 [?] CRAN (R 4.4.0)
#> P pkgconfig 2.0.3 2019-09-22 [?] CRAN (R 4.4.0)
#> P plyr 1.8.9 2023-10-02 [?] CRAN (R 4.4.0)
#> P preprocessCore 1.67.0 2024-05-04 [?] Bioconduc~
#> P prettyunits 1.2.0 2023-09-24 [?] CRAN (R 4.4.0)
#> P progress 1.2.3 2023-12-06 [?] CRAN (R 4.4.0)
#> P ProtGenerics * 1.37.0 2024-05-04 [?] Bioconduc~
#> P PSMatch 1.9.0 2024-05-04 [?] Bioconduc~
#> P purrr 1.0.2 2023-08-10 [?] CRAN (R 4.4.0)
#> P QFeatures 1.15.1 2024-05-11 [?] Bioconduc~
#> P R6 2.5.1 2021-08-19 [?] CRAN (R 4.4.0)
#> P RColorBrewer 1.1-3 2022-04-03 [?] CRAN (R 4.4.0)
#> P Rcpp * 1.0.12 2024-01-09 [?] CRAN (R 4.4.0)
#> P reprex 2.1.0 2024-01-11 [?] CRAN (R 4.4.0)
#> P reshape2 1.4.4 2020-04-09 [?] CRAN (R 4.4.0)
#> P rlang 1.1.3 2024-01-10 [?] CRAN (R 4.4.0)
#> P rmarkdown 2.26 2024-03-05 [?] CRAN (R 4.4.0)
#> P rstudioapi 0.16.0 2024-03-24 [?] CRAN (R 4.4.0)
#> P S4Arrays 1.5.0 2024-05-04 [?] Bioconduc~
#> P S4Vectors * 0.43.0 2024-05-04 [?] Bioconduc~
#> P scales 1.3.0 2023-11-28 [?] CRAN (R 4.4.0)
#> P sessioninfo 1.2.2 2021-12-06 [?] CRAN (R 4.4.0)
#> P SparseArray 1.5.3 2024-05-11 [?] Bioconduc~
#> P Spectra 1.15.0 2024-05-04 [?] Bioconduc~
#> P statmod 1.5.0 2023-01-06 [?] CRAN (R 4.4.0)
#> P stringi 1.8.4 2024-05-06 [?] CRAN (R 4.4.0)
#> P stringr 1.5.1 2023-11-14 [?] CRAN (R 4.4.0)
#> P SummarizedExperiment 1.35.0 2024-05-04 [?] Bioconduc~
#> P tibble 3.2.1 2023-03-20 [?] CRAN (R 4.4.0)
#> P tidyr 1.3.1 2024-01-24 [?] CRAN (R 4.4.0)
#> P tidyselect 1.2.1 2024-03-11 [?] CRAN (R 4.4.0)
#> P UCSC.utils 1.1.0 2024-05-04 [?] Bioconduc~
#> P utf8 1.2.4 2023-10-22 [?] CRAN (R 4.4.0)
#> P vctrs 0.6.5 2023-12-01 [?] CRAN (R 4.4.0)
#> P vsn 3.73.0 2024-05-04 [?] Bioconduc~
#> P withr 3.0.0 2024-01-16 [?] CRAN (R 4.4.0)
#> P xcms * 4.3.0 2024-05-01 [?] Bioconduc~
#> P xfun 0.43 2024-03-25 [?] CRAN (R 4.4.0)
#> P XML 3.99-0.16.1 2024-01-22 [?] CRAN (R 4.4.0)
#> P XVector 0.45.0 2024-05-04 [?] Bioconduc~
#> P yaml 2.3.8 2023-12-11 [?] CRAN (R 4.4.0)
#> P zlibbioc 1.51.0 2024-05-04 [?] Bioconduc~
#>
#> [1] /Users/hickey/Library/Caches/org.R-project.R/R/renv/library/squallms-b78d0ce3/macos/R-4.4/aarch64-apple-darwin20
#> [2] /Users/hickey/Library/Caches/org.R-project.R/R/renv/sandbox/macos/R-4.4/aarch64-apple-darwin20/f7156815
#> [3] /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
#>
#> P ── Loaded and on-disk path mismatch.
#>
#> ──────────────────────────────────────────────────────────────────────────────
suppressPackageStartupMessages(library(squallms))
suppressMessages(example("extractChromMetrics", "squallms", echo = FALSE))
# Where are the plots that are supposed to appear with verbosity = 2?
feat_metrics <- extractChromMetrics(peak_data, recalc_betas = TRUE, verbosity = 2)
#> Grabbing raw MS1 data
#> | | | 0%
#> Reading file LB12HL_AB.mzML.gz... 0.07 secs
#> Reading MS1 data...0.04 secs
#> | |======================= | 33%
#> Reading file LB12HL_CD.mzML.gz... 0.07 secs
#> Reading MS1 data...0.04 secs
#> | |=============================================== | 67%
#> Reading file LB12HL_EF.mzML.gz... 0.13 secs
#> Reading MS1 data...0.04 secs
#> | |======================================================================| 100%
#> Binding files together into single data.table
#> Total time: 0.39 secs
#> Recalculating beta coefficients
Recommended
|
Hi @PeteHaitch, Required
Recommended
|
Received a valid push on git.bioconductor.org; starting a build for commit id: acd422f235dbcc938ad7285d587197f6966ca19f |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. Congratulations! The package built without errors or warnings Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
Hi @wkumler, Thank you for making the requested changes and considering the recommended ones. First, some responses to your queries/comments.
I think documenting the potential workaround on macOS (see below, and trying to get the backspace and escape keybindings working on macOS) is an okay interim measure until/if you re-implement as a shiny app. library(squallms)
example("labelFeatsManual", echo = FALSE)
# Either of these options worked the same for me.
# options(device = function() X11(type = "Xlib"))
options(device = function() X11(type = "cairo"))
# Left, right, up keys work as expected.
# However, backspace ('delete' on macOS keyboard) and escape ('esc') gave 'Warning in labelFeatsManual(peak_data) : Unrecognized input, skipping'.
# It also sometimes crashed my R session when trying to stop labelling (e.g. by clicking stop in Rstudio or closing graphics window).
manual_labels <- labelFeatsManual(peak_data)
That's fair enough.
It's mostly personal preference (I like to use things already included in R before using things from packages), so it's fine to retain as is.
You can keep it as is. Second, there's a a small number of new minor things to fix. Required
Recommended
|
rendering plot metrics, new labelFeatsManual, echo=FALSE, other notes from Bioconductor/Contributions#3387
Received a valid push on git.bioconductor.org; starting a build for commit id: e75460cfda53bdefff030cdfb9808cdd8877b9f9 |
Hi @PeteHaitch, Thanks again for the thoughtful commentary and support during this submission process! I've now submitted a new version of the package in which I bite the bullet and pivot the labelFeatsManual function into a Shiny app to avoid having to deal with the platform-specific problems. I was able to test this app on both my own Windows laptop and a colleague's Mac so I'm optimistic about your experience with it now. I agree about the best user experience likely coming from the Both Required bullets have been resolved - nice catch with the #fig: problem, you were correct about it being due to a space in the chunk name. I've added code comments to both places where I call an interactive chunk with Both Recommended bullets have been resolved - I ended up removing the line about the XCMS processing history and the associated functionality until sneumann/xcms#735 can be better resolved. |
Thanks @wkumler. |
The new shiny app worked a charm (with one exception, below).
manual_classes <- labelFeatsManual(feat_peak_info, ms1_data = msdata$MS1, selection = "Labeled", existing_labels = lasso_classes)
Error in labelFeatsManual(feat_peak_info, ms1_data = msdata$MS1, selection = "Labeled", :
unused arguments (selection = "Labeled", existing_labels = lasso_classes) Looks like the function arguments changed but the vignette wasn't updated to reflect the change. And something I should've picked up earlier:
|
Received a valid push on git.bioconductor.org; starting a build for commit id: defbc6a84a8ae2f2de0670ad6f699d2a969f79e8 |
@PeteHaitch Thanks for the quick response during your conference! Glad the new shiny app worked well on your end too. I've fixed the notes you added above and implemented a few new bug fixes in this version as I've continued using it for my own research purposes. |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on the Bioconductor Single Package Builder. Congratulations! The package built without errors or warnings Please see the build report for more details. The following are build products from R CMD build on the Single Package Builder: Links above active for 21 days. Remember: if you submitted your package after July 7th, 2020, |
Thank you for making the requested changes, @wkumler. I'm now happy to accept squallms into Bioconductor. |
Your package has been accepted. It will be added to the Thank you for contributing to Bioconductor! Reviewers for Bioconductor packages are volunteers from the Bioconductor |
Hooray! Thanks again for your thoughtful guidance and patience throughout this process. |
You're very welcome! |
The default branch of your GitHub repository has been added to Bioconductor's 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/wkumler.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/ 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 https://bioconductor.org/packages/squallms 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. |
Update the following URL to point to the GitHub repository of
the package you wish to submit to Bioconductor
Confirm the following by editing each check box to '[x]'
I understand that by submitting my package to Bioconductor,
the package source and all review commentary are visible to the
general public.
I have read the Bioconductor Package Submission
instructions. My package is consistent with the Bioconductor
Package Guidelines.
I understand Bioconductor Package Naming Policy and acknowledge
Bioconductor may retain use of package name.
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.
My package addresses statistical or bioinformatic issues related
to the analysis and comprehension of mass-spectrometry data.
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.
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:
months, for bug fixes.
(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.
The text was updated successfully, but these errors were encountered: