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

[Feature Request] Tutorial on how to export pools to CSV #87

Open
AlexKhodaverdian opened this issue Nov 20, 2020 · 1 comment
Open

Comments

@AlexKhodaverdian
Copy link

In my application, I'd like to run some more analysis on the pools aside from the pooledMetadata, but I don't use R too often. If you could add code snippets at the end of these tutorials on how to export the outputs to say CSVs (especially the pools, similar to how metacell allows) that would be really helpful.

@mattjones315
Copy link
Collaborator

mattjones315 commented Nov 20, 2020

Hey Alex,

I agree, this would be helpful for users who make use of the supercell analysis. You can pull out the cells that go into each pull from the Pools slot in the Vision object (i.e. pools <- object@Pools would get you the pools). This should store the list of cellBCs that go into each super-cell.

Note that there's not going to be the same number of cells per super cell because we only set the maximum number of cells allowed per pool. This might making saving to a CSV a bit difficult, but once yo have the list you should be able to do some downstream analysis.

Let me know if this works for you!

-Matt

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