Skip to content

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

Open

Description

@AlexKhodaverdian

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.

Activity

  1. mattjones315 commented on Nov 20, 2020

    @mattjones315
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions