almutlue/batch_snakemake

Reproduce the ternary plot in Figure 1A

Closed this issue · 2 comments

Hi team,
Great work! I like the figure 1a in your paper to show the percent of variance explained by batch or cell type for each gene. Would you mind sending me your codes to reproduce the figure? You can send it to my email if that's OK: ptec8888@gmail.com
Many thanks!
Wish you every success in your research.
Zhang

Dear Zhang,

thanks a lot for your interest. You can find the code to reproduce the ternary plots here. I also wrote a small variation of that script which generates some random input data for you to easily try and run the code without the intermediate file objects that are input to the script and sent it as mail.
If you are also interested in running variancePartitioning to calculate the variance attributed to different factors of your data you can find more details about the method here and find my implementation here

Best wishes,
Almut

Awesome! Thanks Almut!