Additional parameters in some functions - new functions
See original GitHub issueDear all,
I am writing to ask you some other functionalities. I have just moved from Seurat to Scanpy and I am finding Scanpy a very nice and well done Python package.
-
I wrote a function to show the 3D plot of the UMAP, tSNE and PCA spaces. In the
scanpy.tl.tsnefunction is not possible to change the number of components, it calculates only the first two components, even if thescanpy.pl.tsnefunction has a parametercomponent. May you add a parameter like then_componentsof thescanpy.tl.umapfunction? -
In the
rank_genes_groupsfunction the log2FC values are provided only for ‘t-test’ based methods. May you return the log2FC values (maybe named log2FC) for all the implemented statistical methods? -
I think that two parameters in the
rank_genes_groupsfunction should be added.min_pCellsto test only the genes that are detected in a minimum fraction of cells of either of the two populations (e.g., cluster 0 vs rest). For instance, min_pCells=0.3 means that at least 30% of the cells must express that gene.positive, if it is True, the function should return only positive marker genes for each population.
-
A function showing the volcano plots (based on the log2FC) can help (I can write it if the log2FC values are provided).
Thank you in advance. Best, Andrea
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:23 (12 by maintainers)

Top Related StackOverflow Question
Sorry this is a little off topic, but it’s something I’ve found useful:
@LuckyMD and anyone else looking for an interactive volcano plot, I’ve been using
hvplotin my notebooks. A volcano plot can be made from DE data frame with something like:Complete example using scanpy
@LuckyMD your tutorial is very interesting! I agree with you regarding the
min_pCellsparameter, it should be used as a filtering step before calculating the marker genes.