pinellolab / dictys

Context specific and dynamic gene regulatory network reconstruction and analysis
GNU Affero General Public License v3.0
101 stars 13 forks source link

dynamic regulatory strength plot(with pseudotime) #21

Closed willey2020 closed 1 year ago

willey2020 commented 1 year ago

Thank you again for this wonderful package.

Could I ask a small question regarding figure 5d(Figure s6 middle panel) , could I ask how to generate this dynamic regulatory strength plot with pseudotime on the x axis? Could you provide the example code during the dynamic GRN analysis?

Thank you so much!

lingfeiwang commented 1 year ago

Hi willey2020,

Thank you for the question. We are working on adding this plotting function to the software. This can take some time.

But if you prefer not to wait, you can achieve it very easily. You can first export the continuous dynamic network with sufficient time points (https://nbviewer.org/github/pinellolab/dictys/blob/master/doc/tutorials/analysis-blood/notebooks/dynamic/main.ipynb#Export-dynamic-network-to-folder). Then you can extract the regulation(s) of interest and show a heatmap over pseudotime. This was exactly what we did.

Hope that answers your question.

Lingfei

willey2020 commented 1 year ago

Dear Lingfei,

Thank you so much for your answer! Yes I can do that! Thank you again!

Best, willey