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

How could I access the AUC per cell? #18

Open
sanchezy opened this issue Apr 14, 2022 · 2 comments
Open

How could I access the AUC per cell? #18

sanchezy opened this issue Apr 14, 2022 · 2 comments

Comments

@sanchezy
Copy link

Hi all,

I would like to subset my Seurat object by the AUC score (to keep only the cells with higher AUC).
To add the AUC per cell into the metadata of my Seurat object, I need a list of the barcode and the corresponding AUC scores.
How could I access the AUC per cell?

Many thanks for your help!

@skinnider
Copy link
Collaborator

Hi @sanchezy, you could try something like this (assuming you have a Seurat object sc, cell type in column cell_type of its metadata, and Augur results augur):

sc@meta.data %<>% left_join(augur$AUC, by = 'cell_type')

@bigfacebig
Copy link

What is the recommended number of cells for calculation?

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

3 participants