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

add get_pseudobulk API #136

Open
stemangiola opened this issue Apr 12, 2024 · 4 comments
Open

add get_pseudobulk API #136

stemangiola opened this issue Apr 12, 2024 · 4 comments

Comments

@stemangiola
Copy link
Owner

stemangiola commented Apr 12, 2024

We have suitable available for the whole atlas, we should built a function that delivers those to the user

The interface would look like

metadata |>
   filter(...) |>
   get_pseudobulk()

The backend would look like

function(my_tibble){

   # select sample_ from tibble

  # Download pre-made pseudobulk from the cloud

  # bind
  
  # return

}
@myushen
Copy link
Contributor

myushen commented Apr 12, 2024

What do we want to download here after selecting sample_? SCE counts and cpm for selected sample_?

@stemangiola
Copy link
Owner Author

What do we want to download here after selecting sample_? SCE counts and cpm for selected sample_?

We would have SummarizedExperiments in the cloud (instead of SingleCellExperiment for single-cell). Those could include raw counts, and cpm/normalised assays (?).

@myushen
Copy link
Contributor

myushen commented Apr 12, 2024

so we don't have SummarizedExperiments in the cloud yet but plan to generate them for selected samples? Would converting SCE to SummarizedExperiments work in this case?

@stemangiola
Copy link
Owner Author

stemangiola commented Apr 12, 2024

so we don't have SummarizedExperiments in the cloud yet but plan to generate them for selected samples? Would converting SCE to SummarizedExperiments work in this case?

we have them locally, they would not be generated on the flight, but recalculated. Instead of selecting the face based on cells, we would select five based on samples and cell types.

Sample 1 cell type epithelial = 1 observation = 1 file

Have a look to my updated strategy

#136 (comment)

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