Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
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

staRgate #3485

Open
10 tasks done
leejasme opened this issue Jul 11, 2024 · 18 comments
Open
10 tasks done

staRgate #3485

leejasme opened this issue Jul 11, 2024 · 18 comments
Assignees
Labels
2. review in progress assign a reviewer and a more thorough review of package code and documentation taking place OK

Comments

@leejasme
Copy link

Hello Bioconductor team,
I am submitting my R package {staRgate} in consideration for Bioconductor release.

Thank you for your time and consideration!

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 high throughput genomic 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:

  • The 'devel' branch for new packages and features.
  • The stable 'release' branch, made available every six
    months, for bug fixes.
  • 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.

@bioc-issue-bot
Copy link
Collaborator

Hi @leejasme

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: staRgate
Title: Automated gating pipeline for flow cytometry analysis to characterize 
    the lineage, differentiation, and functional states of T-cells
Version: 0.99.0
Authors@R: 
    person("Jasme", "Lee", email = "leej22@mskcc.org", role = c("aut", "cre"),
    comment = c(ORCID = "0009-0006-4492-4872"))
Description: An R-based automated gating pipeline for flow cytometry data designed 
    to mimic the manual gating strategy of defining flow biomarker positive populations 
    relative to a unimodal background population to include cells with varying 
    intensities of marker expression. The pipeline’s main feature is a flexible 
    density-based gating strategy capable of capturing varying scenarios based on 
    marker expression patterns to analyze a 29-marker flow panel that characterizes 
    T-cell lineage, differentiation, and functional states.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
biocViews: FlowCytometry, Preprocessing, ImmunoOncology
Imports: 
    dplyr,
    janitor,
    magrittr,
    purrr,
    rlang,
    stringr,
    tidyr, 
    flowCore, 
    flowWorkspace,
    glue, 
    tibble
Suggests: 
    flowAI,
    ggplot2,
    gt,
    knitr,
    openCyto,
    ggcyto,
    rmarkdown,
    data.table,
    here,
    testthat (>= 3.0.0)
VignetteBuilder: knitr
BugReports: https://github.com/leejasme/staRgate/issues
URL: https://leejasme.github.io/staRgate/, https://github.com/leejasme/staRgate
Config/testthat/edition: 3

@bioc-issue-bot bioc-issue-bot added the 1. awaiting moderation submitted and waiting clearance to access resources label Jul 11, 2024
@lshep lshep added the pre-check passed pre-review performed and ready to be added to git label Jul 17, 2024
@bioc-issue-bot
Copy link
Collaborator

Your package has been added to git.bioconductor.org to continue the
pre-review process. A build report will be posted shortly. Please
fix any ERROR and WARNING in the build report before a reviewer is
assigned or provide a justification on why you feel the ERROR or
WARNING should be granted an exception.

IMPORTANT: Please read this documentation for setting
up remotes to push to git.bioconductor.org. All changes should be
pushed to git.bioconductor.org moving forward. It is required to push a
version bump to git.bioconductor.org to trigger a new build report.

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

@bioc-issue-bot bioc-issue-bot added pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean and removed 1. awaiting moderation submitted and waiting clearance to access resources pre-check passed pre-review performed and ready to be added to git labels Jul 18, 2024
@bioc-issue-bot
Copy link
Collaborator

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: "WARNINGS".
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.

The following are build products from R CMD build on the Single Package Builder:
macOS 12.7.1 Monterey: staRgate_0.99.0.tar.gz
Linux (Ubuntu 22.04.3 LTS): staRgate_0.99.0.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/staRgate to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@bioc-issue-bot
Copy link
Collaborator

Received a valid push on git.bioconductor.org; starting a build for commit id: 1dd51d12157d6772b103db28a8cb29bbfbbb97a7

@bioc-issue-bot
Copy link
Collaborator

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: "WARNINGS".
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.

The following are build products from R CMD build on the Single Package Builder:
macOS 12.7.1 Monterey: staRgate_0.99.1.tar.gz
Linux (Ubuntu 22.04.3 LTS): staRgate_0.99.1.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/staRgate to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@leejasme
Copy link
Author

Hello!

The latest warning that was flagged states:
" * WARNING: Package listed as VignetteEngine or VignetteBuilder but not currently Suggested."

I only use knitr for the vignette and have included in the Suggests field. When running the checks on my local machine, I do not get this warning and cannot reproduce.

It looks like this might be a false positive based on a few other packages currently undergoing review (#3379 and #3451)

What is the best course of action for moving this forward?

Thank you!

@lshep lshep added 2. review in progress assign a reviewer and a more thorough review of package code and documentation taking place and removed pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean labels Aug 5, 2024
@bioc-issue-bot
Copy link
Collaborator

A reviewer has been assigned to your package for an indepth review.
Please respond accordingly to any further comments from the reviewer.

@lshep
Copy link
Contributor

lshep commented Aug 5, 2024

@LiNk-NY can you also investigate the reported false positive in the BiocCheck?

@LiNk-NY
Copy link

LiNk-NY commented Aug 5, 2024

Hi @lshep
The issue was resolved two weeks ago : Bioconductor/BiocCheck@481d8d1

@leejasme
Please bump the version for a more recent run BiocCheck.

@leejasme
Copy link
Author

leejasme commented Aug 5, 2024

Great thank you! Will do

@bioc-issue-bot
Copy link
Collaborator

Received a valid push on git.bioconductor.org; starting a build for commit id: 76a09e6aed3247844ae56d9e01d9fb265dfdb0fd

@bioc-issue-bot
Copy link
Collaborator

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
on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder:
macOS 12.7.1 Monterey: staRgate_0.99.2.tar.gz
Linux (Ubuntu 22.04.3 LTS): staRgate_0.99.2.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/staRgate to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@bioc-issue-bot bioc-issue-bot added OK and removed WARNINGS labels Aug 5, 2024
@bioc-issue-bot
Copy link
Collaborator

Received a valid push on git.bioconductor.org; starting a build for commit id: 336ffa86f92dffc6b0ed2d3bb1a28af6eaefd0a2

@bioc-issue-bot
Copy link
Collaborator

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
on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder:
Linux (Ubuntu 22.04.3 LTS): staRgate_0.99.3.tar.gz
macOS 12.7.1 Monterey: staRgate_0.99.3.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/staRgate to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@leejasme
Copy link
Author

leejasme commented Aug 9, 2024

Hi @LiNk-NY, thank you for the initial review!

I wanted to clarify on the first point as I am not familiar with the SummarizedExperiment and stageR class. Do you mean entirely for the pipeline whether it would make sense to change to these classes, or only for the subsequent part where I pull the intensity matrix from the GatingSet?

I will look more closely into each of the comments and update accordingly. Thank you!

@LiNk-NY
Copy link

LiNk-NY commented Aug 13, 2024

Hi @leejasme

Apologies for the confusion. I copied the wrong review.

Please see the review below.
Let me know if you have any questions.
Best regards,
Marcel


staRgate #3485

DESCRIPTION

  • Looks good.
  • Consider avoiding the magrittr dependency in favor of the native pipe
    (|>).

NAMESPACE

  • Consider using the native pipe.
  • Looks good.

vignettes

  • Consider using BiocStyle::html_document as the output function.
  • Consider wrapping the lines to a limit of 80 character width. This makes it
    easier to review and, IMO, maintian.
  • Remove version specific code from the Installation section. You do not
    want to update this code at every release.
  • Remove GitHub installation instructions.
  • Remove installation instructions for specific packages and only keep the
    library("package") calls instead. Import'ed and Suggest'ed packages are
    usually installed with your package.
  • Use r Biocpkg("flowCore"} etc. for referring to Bioconductor or r CRANpkg("openCyto") for CRAN packages
  • Consider hiding (echo = FALSE) the theme_set code related to plotting.
  • Optional. Please encourage good practices and use <- instead of = for
    assignment.
  • Avoid using @ to access slots and create an accessor function (e.g. in
    chk_cm@spillover).
  • Avoid too much conditional code as it complicates the workflow for the user,
    e.g., when resolving inconsistencies in naming conventions in the Import FCS
    section
  • Consider reducing the amount of repetitive code in the vignette. Please make
    it easy for the user to use your software (see Extract intensity matrix
    section).

R

  • Keep move the roxygen block(s) above the function and not in the body (see
    getBiexpTransformGS).
  • Is the standard that all input files be csv? Perhaps the inputs to these
    functions can be matrices instead. What if names differ, is your code robust
    enough to handle column name changes?
  • Consider reducing the cyclomatic complexity in the code by reducing the
    number of "check inputs" and consider using an S4 class with validity checks.
  • Avoid nested ifelse and use case_when with mutate.
  • Minor: Consider using the shorter is.data.frame(), is.numeric()
    functions instead of inherits(...)

tests

Please increase the package coverage in R/getDensityGates.R:

> covr::package_coverage(type="all")
staRgate Coverage: 81.35%
R/getDensityGates.R: 52.63%
R/getPerc.R: 74.40%
R/getGatedDat.R: 84.38%
R/internal.R: 98.41%
R/getBiexpTransformGS.R: 100.00%
R/getCompGS.R: 100.00%

@leejasme
Copy link
Author

Thank you!! I will work on updating!

Is there a timeline for when I would need to push updates before this issue would automatically close etc?

@LiNk-NY
Copy link

LiNk-NY commented Aug 14, 2024

Hi @leejasme
We usually expect some activity within two weeks of the review.
If you need more time, let us know.
Best regards,
Marcel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. review in progress assign a reviewer and a more thorough review of package code and documentation taking place OK
Projects
None yet
Development

No branches or pull requests

4 participants