-
Notifications
You must be signed in to change notification settings - Fork 32
Adding correlation to GRNBoost adjency table #254
Comments
Hi @cbravo93 , Yes, I think this is best done through pySCENIC first, then we can change the VSN code to publish the adjacency table along with the rest of the pySCENIC outputs. I think the original reason the correlations were not included is that we just took the GRNBoost2 function directly from Arboreto, and the correlations aren't calculated until the next step (module assembly). By the way, with the current pySCENIC output, you can tell if a regulon is activating or repressing by the |
Hi, Oki, great! We are actually trying to avoid the regulons, the idea is to use the modules (to combine with scATAC-seq data). Indeed the regulons indicate the sign of the correlation, but they are already pruned based on the motif enrichment around the TSS, we need to know the sign of the interactions before any prunning (some will be lost from the initial module). Cheers! Carmen |
@cbravo93, Ok so we could export the adjacency table with correlations during the cisTarget step, would that work for you? Or do you specifically need this table before running cisTarget? I assume that if you're running through VSN, you always run the full pySCENIC pipeline anyway right, so exporting during the cisTarget step should be ok? |
@cflerin For the moment that would work (I am running full SCENIC anyways, as comparison). For the future, if we adopt this approach then we would run the GRNBoost part but not cisTarget (so it would have to be included either on GRNBoost or as an additional in the new approach instead of cisTarget). So yeah, it can be added on cisTarget for now and we can come back to this later on if needed :). But it would be important to include the correlations for all TF-target relationships as in the modules (before any prunning). Thanks! |
- Update to pySCENIC 0.10.4 to use add_cor cli command - Rename arboreto output, publish adj file with correlations instead - Update steps in main.nf to use adj with correlations - vib-singlecell-nf/vsn-pipelines/issues/254
- Update to pySCENIC 0.10.4 - GRN output with correlations is now published to the scenic output location - Fixes #254
Hey @cbravo93 , pySCENIC 0.10.4 now has a
That file can then go into the
This is all implemented in VSN as well, with this table replacing the old adjacency table. |
Hi @cflerin ! Thanks a ton, this is it :)! I will close the issue C |
Hi VSN team :)!
I have noticed that when running SCENIC in the pipeline, the GRNBoost modules adjency table only contains the columns TF-target-importance. For some analyses afterwards, it is interesting to also have the correlations TF-gene to classify the interactions as positive or negative (because the RF importance does not reflect this). This should be already calculated in the pySCENIC workflow too.
My feature request is: can these values be added to the adjency table, to have TF-target-importance-correlation?
Of course the correlation can always be added afterwards, but it can take quite some time when you have big data sets, and since it is in principle already calculated when running VSN there is no need to repeat the calculation if it can be saved.
PD: Let me know if this issue fits better in the pySCENIC repository.
Thanks!
C
The text was updated successfully, but these errors were encountered: