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

early cell #156

Open
zhuzaicoder opened this issue Dec 26, 2024 · 1 comment
Open

early cell #156

zhuzaicoder opened this issue Dec 26, 2024 · 1 comment

Comments

@zhuzaicoder
Copy link

How to determine which cell to use for Palantir's early cell parameters?

@katosh
Copy link
Collaborator

katosh commented Dec 29, 2024

Hi @zhuzaicoder, thanks for reaching out! Typically, the “early cell” is chosen based on your annotation. Because diffusion components often capture differentiation trajectories, we usually assume one of them reflects a “stemness” state within the set of cells labeled as early. To aid in this selection, we’ve introduced the palantir.utils.early_cell function, which finds a cell within the annotated group that sits at the extreme end of an early diffusion component. You can use it, e.g., with:

palantir.utils.early_cell(adata, early_celltype, celltype_column)

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