Open solvi808 opened 6 months ago
Hi @solvi808
Sorry for the late reply.
Strange ...
Could you show a plot with the expression of these TFs on the PCA?
Best,
Seppe
Hello,
Ok I did as you suggested but I cannot see any co-expression between the TFs that explains the similarity between the perturbation-velocity plots
I also attached the jupyter notebook report in .pdf format, which shows the code from start to finish
PCA embedding (it changed a bit from before as I had re-ran SCENIC+ on this sample, but the issue remains the same)
UMAP embedding
TF eRegulon AUC and GEX on UMAP
TF eRegulon AUC and GEX on PCA embedding
Trp63 perturbation velocity plot
Nfatc1 perturbation velocity plot
Snail 1
Describe the bug This is not a hard error, but it's an issue with the output of the analysis.
For all the regulon markers including markers that should act in opposite directions the perturbation plots show arrows that always point in the same direction, i.e. are exactly the same. See figures attached of the perturbation-flow-plots of TFs Nfatc1 and Trp63. Nfatc1 and Trp63 in my dataset, and in classic SCENIC, have activity in the opposite clusters, and therefore I expected arrows pointing towards the opposite directions. However it looks almost the exact same as the plot showing the Trp63 perturbation which doesn't make sense. The only difference between the plots seems to be slightly due to the stochastic calculation so I am wondering if somehow, it's always being applied on the same regulon.
The perturbation heatmap looks fine (in this particular sample) , it is only the perturbation featureplot that is same for all TFs
This problem is the same for all my samples, I did three separate analysis on three separate 10x samples.
I am using the basically the exact same code as used in the vignette which was at https://scenicplus.readthedocs.io/en/latest/Perturbation_simulation.html (this vignette with perturbation analysis was removed with the last scenic update).
Anyway I supplied the precomputed perturbed matrix ( perturbed_matrices_dict ) but the issue persisted even if I use the same code as in the SCENIC+ vignette.
My Code:
relevant software versions velocyto v 0.17.17 scanpy v 1.9.6 pandas v 1.5.0 numpy v 1.24.4 scenicplus v 1.0.1.dev4+ge4bdd9f Python version 3.8.18