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

cache for pseudobulk same as for single cell? #144

Open
stemangiola opened this issue Jun 8, 2024 · 2 comments
Open

cache for pseudobulk same as for single cell? #144

stemangiola opened this issue Jun 8, 2024 · 2 comments

Comments

@stemangiola
Copy link
Owner

@myushen I noticed that if I query pseudobulk

my_metadata |>
     get_pseudobulk(assays = "counts")

the data is stored in the wrong cache?

Downloading https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/pseudobulk-0.1.0/original/GSE122960/se.rds to /Users/mangiola.s/Library/Caches/org.R-project.R/R/CuratedAtlasQueryR/0.2.1/original/GSE122960/se.rds

I think we should use pseudobulk-0.1.0 for the cache , not 0.2.1

@myushen
Copy link
Contributor

myushen commented Jun 11, 2024

good point. this is associated with the cache directory structure strategy implementation. we might need to think about if we want to adapt the same structure strategy as the future cloud.
cellxgene

  • date (yy-mm-dd)
    • original
    • cpm
  • another date (yy-mm-dd)
    • original
    • cpm

fibrosis

  • date (yy-mm-dd)
    • original
    • cpm

pseudobulk

  • date (yy-mm-dd)
    • original
    • quantile_normalised

@stemangiola
Copy link
Owner Author

stemangiola commented Nov 14, 2024

How about this hierarchy

  • cellxgene

    • date (yy-mm-dd)

      • single_cell
        • original
        • cpm
      • pseudobulk
        • original
        • cpm
      • metacells_2
        • original
        • cpm
      • metacells_4
        • ...
    • ANOTHER date (yy-mm-dd)

      • single_cell
        • original
        • cpm
      • pseudobulk
        • original
        • cpm
      • metacells_2
        • original
        • cpm
      • metacells_4
        • ...
  • Fibrosis

    • date (yy-mm-dd)
      • single_cell
        • original
        • cpm
      • pseudobulk
        • original
        • cpm
      • metacells_2
        • original
        • cpm
      • metacells_4
        • ...

...

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

No branches or pull requests

2 participants