Runtime warning by rank_genes_groups
See original GitHub issueDear all, I am receiving the following runtime warning when I search for markers within my clusters using
sc.tl.rank_genes_groups
RuntimeWarning: invalid value encountered in log2 rankings_gene_logfoldchanges.append(np.log2(foldchanges[global_indices]))
The warning only happened after I subset my initial clustering and keep few clusters and then again run PCA and HVG analysis on them and do the clustering. It still though run the command and I get the results. Does anyone know why is it happening right after I want to analyze my subset? and is it something that I should worry about ?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
Runtime warning by rank_genes_groups · Issue #653 - GitHub
Dear all, I am receiving the following runtime warning when I search for markers within my clusters using sc.tl.rank_genes_groups ...
Read more >scanpy.tl.filter_rank_genes_groups - Read the Docs
Filters out genes based on log fold change and fraction of genes expressing the gene within and outside the groupby categories. See rank_genes_groups()...
Read more >DE using t-test overest var producing many non DE genes
Hello, I'm getting a lot of non-DE genes after I do “t-test overest var” between clusters. Same happens with wilcoxon.
Read more >5 -Differential expression in Single cell RNA-seq - Kaggle
WARNING: Running pip as the 'root' user can result in broken permissions and ... /tools/_rank_genes_groups.py:417: RuntimeWarning: overflow encountered in ...
Read more >Analysis of single-cell RNA-seq data - Python - kallisto | bustools
sc.settings.verbosity = 3 # verbosity: errors (0), warnings (1), info (2), ... ranking genes finished: added to `.uns['rank_genes_groups']` 'names', ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe rescale yourself then… just add the min expression value per gene to each gene… then you’ll get at least a rebasing of expression values. Relative expression within genes will still be okay.
After imputation you don’t have your initial variability in your data. Ideally you have only the biologically relevant variability, but that’s another question. Also, imputation methods take different data as input. Our DCA method takes count data, but MAGIC takes pre-processed data I think.