Scanpy: Where can I find log-fold change in gene expression for the markers

Created on 21 May 2018  路  10Comments  路  Source: theislab/scanpy

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.

Most helpful comment

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!

All 10 comments

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.

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!

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.

@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.

@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.

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

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

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

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!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

naity picture naity  路  5Comments

giovp picture giovp  路  4Comments

zhangguy picture zhangguy  路  5Comments

wflynny picture wflynny  路  6Comments

maxnguyen46 picture maxnguyen46  路  3Comments