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

Using known cell type fractions #90

Open
oriolpich opened this issue Jun 19, 2024 · 3 comments
Open

Using known cell type fractions #90

oriolpich opened this issue Jun 19, 2024 · 3 comments

Comments

@oriolpich
Copy link

Dear Tinyi,

Thanks so much for developing (and maintaining) such great software.
This is more of a question rather than an issue. We were wondering whether it would be possible to start from known fractions and use BayesPrism to do in sillico gene expression purification of the different cell-types.

Thanks so much in advance.

Best wishes,

Oriol

@tinyi
Copy link
Collaborator

tinyi commented Jun 26, 2024 via email

@oriolpich
Copy link
Author

Fantastic, thanks Tinyi!

@oriolpich
Copy link
Author

Hi Tinyi,
may I ask a few follow-up questions?

  • Any advise on how to get the cell size factor from single cell data? So far we tried :

sce_sumf <- computeSumFactors(single_cell_counts, clusters=metadata$clusters)
and then getting the mean(sizeFactors(sce_sumf[, index_cells_incluster])), but we are unsure whether this is the best way to get them.

  • I understand we need to multiply our fractions to the cell type specific cell size factor, and this would be our theta. Shall I renormalise to 1 before feeding it into the function?

  • Would you run the function as it is, or shall I try to add it within BayesPrism (eg including it at some step in the overall BayesPrism run)? Is there any way we could make it more robust?

Thanks a lot!

Oriol

@oriolpich oriolpich reopened this Oct 14, 2024
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