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

submitting new package CatsCradle #3452

Open
michaeldshapiro opened this issue Jun 4, 2024 · 6 comments
Open

submitting new package CatsCradle #3452

michaeldshapiro opened this issue Jun 4, 2024 · 6 comments
Labels
ERROR pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean WARNINGS

Comments

@michaeldshapiro
Copy link

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]'

  • [ 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.

@bioc-issue-bot
Copy link
Collaborator

Hi @michaeldshapiro

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: CatsCradle
Title: This package discovers gene clusters in Seurat data
Version: 0.99.0
Authors@R:
    person(given = "Anna",
        family = "Laddach",
        role = c("aut", "cre"),
        email = "[email protected]",
        comment = c(ORCID = "0000-0001-5552-6534"))
    person(given = "Michael",
        family = "Shapiro",
        role = c("aut", "cre"),
        email = "[email protected]",
        comment = c(ORCID = "0000-0002-2769-9320"))
Description: The basic insight driving this package is the idea that by transposing the expression matrix of a Seurat object, we can use the usual Seurat technology to cluster genes and to visualise their relationships in two dimensions, e.g., as UMAP plots.  In addition we are then able to use the nearest neighbor graph to gain additional insight into specific genes by querying their neighborhood in this graph. 
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
Imports: Seurat,
	 ggplot2,
	 networkD3,
	 stringr,
	 pracma,
	 knitr,
	 reshape2,
	 rdist,
	 igraph,
	 interp,
	 geometry,
	 Rfast,
	 dplyr,
	 data.table,
	 abind,
	 pheatmap,
	 fossil
Depends: 
    R (>= 4.0)
LazyData: true
VignetteBuilder: knitr
LazyDataCompression: xz
biocViews:
    BiologicalQuestion,
    StatisticalMethod,
    GeneExpression,
    SingleCell,
    Transcriptomics

@bioc-issue-bot bioc-issue-bot added the 1. awaiting moderation submitted and waiting clearance to access resources label Jun 4, 2024
@lshep
Copy link
Contributor

lshep commented Jun 7, 2024

The docs directory should be removed. These documentations should be generated automatically with R CMD build.

Seurat objects are not Bioconductor objects. This package should be altered to additionally be able use the main Bioconductor object for expression matrix, SummarizedExperiment/SingleCellExperiment.

Please also be sure to run R CMD build, R CMD check and BiocCheck on the package.

> cellTypesPerCellType = computeCellTypesPerCellTypeMatrix(NBHDByCTMatrix,
+                                                      smallXenium$seurat_clusters)
Error in `x[[i, drop = TRUE]]`:
! ‘seurat_clusters’ not found in this Seurat object
 
Backtrace:
     ▆
  1. ├─CatsCradle::computeCellTypesPerCellTypeMatrix(...)
  2. │ ├─stats::aggregate(nbhdByCellType, list(cellTypes), sum)
  3. │ └─stats::aggregate.data.frame(...)
  4. ├─smallXenium$seurat_clusters
  5. └─SeuratObject:::`$.Seurat`(smallXenium, seurat_clusters)
  6.   ├─x[[i, drop = TRUE]]
  7.   └─SeuratObject:::`[[.Seurat`(x, i, drop = TRUE)
  8.     └─base::tryCatch(...)
  9.       └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 10.         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 11.           └─value[[3L]](cond)
 12.             └─rlang::abort(...)

@lshep lshep added 3e. pending pre-review changes review has indicated blocking concern that needs attention 3d. needs interop Package must explicitly use Bioconductor structures and methods labels Jun 7, 2024
@michaeldshapiro
Copy link
Author

We have pushed a new version of the package with the updated version number 0.99.1. We believe this version responds successfully to the suggestions. In particular, it now passes R CMD check and BiocCheck, and we have removed to doc folder.

We like the idea of enabling the package to work with, e.g., SingleCellExperiment objects. Functions which accept Seurat objects now also accept equivalent data in the form of a SingleCellExperiment of SpatialExperiment object. Similarly, functions which return as Seurat object can now return a SingleCellExperiment of SpatialExperiment at the user's request. This has been accomplished using adaptors that are only slightly deeper than, e.g., as.SingleCellExperiment. We have also provided expamples showing this capability.

We think this raises a larger question for the community. Seurat is an industry standard and will continue to evolve. We wonder if there oughtn't be a package which provides deeper conversions between Seurat and Bioconductor objects. This is beyond the scoper of CatsCradle and deserves to be treated as its own project.

Many thanks for your review of our work.

@lshep
Copy link
Contributor

lshep commented Jul 1, 2024

Agreed regarding Seurat/Bioc object conversion. https://satijalab.org/seurat/archive/v4.3/conversion_vignette looks like there was at least some effort to make some standardized conversions between objects; however I don't know how mature it is or if a deeper effort is being investigated.

@lshep lshep added pre-check passed pre-review performed and ready to be added to git and removed 3e. pending pre-review changes review has indicated blocking concern that needs attention 3d. needs interop Package must explicitly use Bioconductor structures and methods labels Jul 1, 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 1, 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, 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.

The following are build products from R CMD build on the Single Package Builder:
Linux (Ubuntu 22.04.3 LTS): CatsCradle_0.99.1.tar.gz
macOS 12.7.1 Monterey: CatsCradle_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
[email protected]:packages/CatsCradle to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ERROR pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean WARNINGS
Projects
None yet
Development

No branches or pull requests

3 participants