Skip to content

Where can I find log-fold change in gene expression for the markers #159

Closed

Description

@DoruMP

Does scanpy store log fold change, p-value and marker type flag (negative vs positive) somewhere? It looked at scObj.uns["rank_genes_groups"] but found only 3 fields: params, scores and names.

Activity

  1. falexwolf commented on May 21, 2018

    @falexwolf
    Member

    No, it currently doesn't. Instead it uses the scores... usually some "differential z-score" that goes into the t-test. We will extend differential testing in the future.

  2. a-munoz-rojas commented on Sep 11, 2018

    @a-munoz-rojas
    Contributor

    Just wanted to bring this question back up - it would be great if we could get fold changes and p-values returned from the relevant methods for differential testing in scanpy. Thanks!

  3. falexwolf commented on Sep 11, 2018

    @falexwolf
    Member

    There now is a much more powerful differential testing package diffxpy, @davidsebfischer, which easily integrates into Scanpy.

    @a-munoz-rojas Would you consider making a pull request that adds log-fold changes for t-test etc. in rank_genes_groups? My bandwidth is limited these days, I will certainly do it at some point, but it's faster if you do it.

  4. a-munoz-rojas commented on Sep 11, 2018

    @a-munoz-rojas
    Contributor

    @falexwolf Thanks for pointing out this package, I'll give it a try. I'll also give the pull request a shot - I'm still learning my way around this package but if I can do it I'll submit it for sure.

  5. wflynny commented on Sep 11, 2018

    @wflynny

    @falexwolf Is there anyplace where we can read into diffxpy? I've been benchmarking available marker gene detection algorithms and am interested to see what is included in this new package.

  6. a-munoz-rojas commented on Sep 11, 2018

    @a-munoz-rojas
    Contributor

    @davidsebfischer @falexwolf Also, where can we get this package? I tried doing a pip install, and while the package is listed the installation failed.

  7. flying-sheep commented on Sep 12, 2018

    @flying-sheep
    Member

    @falexwolf you were a little quick: @davidsebfischer didn’t turn it public yet. maybe david would like to send it to you for beta testing?

  8. falexwolf commented on Sep 12, 2018

    @falexwolf
    Member

    Yes, he told me just yesterday that it's not public yet, but it will soon be.

  9. davidsebfischer commented on Sep 13, 2018

    @davidsebfischer

    Hi @a-munoz-rojas, diffxpy will be public very soon, once we finished running all benchmarks that we need for validation. I would be happy to help you set it up if you still want to give it a go then!

  10. a-munoz-rojas commented on Sep 14, 2018

    @a-munoz-rojas
    Contributor

    Hi @davidsebfischer, sounds great! Let me know and I'd be happy to give it a try. Thanks!

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