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

[r] Add obsm, varm, obsp, and varp to SOMAExperimentAxisQuery #2351

Merged

Conversation

mojaveazure
Copy link
Member

Add support for querying *m and *p layers from SOMAExperimentAxisQuery; note, just like $X(), these methods only support layers stored as SOMASparseNDArrays

Implemented SOMA methods:

  • SOMAExperimentAxisQuery$obsm(): read an obsm layer for only the coordinates in the query
  • SOMAExperimentAxisQuery$varm(): read a varm layer for only the coordinates in the query
  • SOMAExperimentAxisQuery$obsp(): read an obsp layer for only the coordinates in the query
  • SOMAExperimentAxisQuery$varp(): read a varp layer for only the coordinates in the query

resolves #1997

Copy link

@johnkerl johnkerl removed the request for review from eddelbuettel March 29, 2024 16:47
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Merging #2351 (f881909) into main (7eef2c6) will decrease coverage by 7.06%.
The diff coverage is 100.00%.

❗ Current head f881909 differs from pull request most recent head d56859e. Consider uploading reports for the commit d56859e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2351      +/-   ##
==========================================
- Coverage   82.17%   75.11%   -7.06%     
==========================================
  Files          89       52      -37     
  Lines        8226     4421    -3805     
==========================================
- Hits         6760     3321    -3439     
+ Misses       1466     1100     -366     
Flag Coverage Δ
python ?
r 75.11% <100.00%> (+0.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api ∅ <ø> (∅)
libtiledbsoma ∅ <ø> (∅)

@eddelbuettel
Copy link
Contributor

Maybe rebase this one more time? GH says it is 8 commits behind, 1 ahead.

image

Add support for querying `*m` and `*p` layers from
`SOMAExperimentAxisQuery`; note, just like `$X()`, these methods only
support layers stored as `SOMASparseNDArrays`

Implemented SOMA methods:
 - `SOMAExperimentAxisQuery$obsm()`: read an `obsm` layer for only the
   coordinates in the query
 - `SOMAExperimentAxisQuery$varm()`: read a `varm` layer for only the
   coordinates in the query
 - `SOMAExperimentAxisQuery$obsp()`: read an `obsp` layer for only the
   coordinates in the query
 - `SOMAExperimentAxisQuery$varp()`: read a `varp` layer for only the
   coordinates in the query

resolves #1997
@mojaveazure mojaveazure force-pushed the paulhoffman/sc-43711/r-port-obsm-varm-for-experimentaxisquery branch from 7584faa to f881909 Compare March 29, 2024 17:48
Bump develop version

[ci skip]
@mojaveazure mojaveazure merged commit 6abaf66 into main Mar 29, 2024
@mojaveazure mojaveazure deleted the paulhoffman/sc-43711/r-port-obsm-varm-for-experimentaxisquery branch March 29, 2024 18:07
@johnkerl
Copy link
Member

johnkerl commented Apr 2, 2024

@mojaveazure (just FYI, no action required on your part) the backport bot isn't running & I'm not sure why not :(

I need to debug tomorrow. For maximum neatness I'd like to backport this to release-1.9 before backporting #2188 (I prefer to run the backports in the same order as their antecedents were merged into main) ...

@johnkerl
Copy link
Member

johnkerl commented Apr 3, 2024

@mojaveazure #2365 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[r] Port obsm/varm for ExperimentAxisQuery from Python to R
3 participants