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 to subset desired data from FeaturePlot() #537

Closed
ClarkGregg opened this issue Jun 12, 2018 · 1 comment
Closed

how to subset desired data from FeaturePlot() #537

ClarkGregg opened this issue Jun 12, 2018 · 1 comment

Comments

@ClarkGregg
Copy link

I have a large dataset containing more then ten thousand cells. I ran the whole workflow as demonstrated at the website. Here is the thing, I sub divided T cells into CD4+ and CD8+ respectively, then I used FeaturePlot to plot CD4 gene and CD8 gene to see their corresponding distributions in the two clusters. During my use of FeaturePlot(), I set do.hover = T to interactively explore the data, but I don't know how to extract the cell names(eg. barcode sequences) from the plot. Can anyone help?

Thanks in advanced

@andrewwbutler
Copy link
Collaborator

If you want to visually select cells in the plot, you can use the do.identify option in FeaturePlot. The more programmatic option though is to use the WhichCells function to return a subset of cell names that meet your selection criteria.

andrewwbutler pushed a commit that referenced this issue Mar 12, 2021
Update documentation for FindNeighbors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants