Publication quality line plots in python

Поделиться
HTML-код
  • Опубликовано: 12 фев 2022
  • I go over making high quality line plots in python using matplotlib and seaborn. I also show how to calculate p values using scipy and display them on the plot.
    Notebook:
    github.com/mousepixels/sanbom...

Комментарии • 13

  • @gustavojuantorena
    @gustavojuantorena Месяц назад

    Grrat tutorial. About the significance marker, do you have another video o has a recommendation for plotting brackets and stars between boxplots? I dont get a simple way to do it

  • @m.a.k5940
    @m.a.k5940 Год назад

    the best available on youtube! Thank you.

  • @justinasmus1190
    @justinasmus1190 2 года назад

    This was a pretty cool vid, enjoyed the quality of the graph you could produce. Do you have a computer science background or are you self-taught regarding your programming skills? Basically asking if you started out from a biological science background and learnt the programming as you went along and if so do you have any tips for someone in the same boat trying to pick up programming now?

    • @sanbomics
      @sanbomics  2 года назад +1

      Great question. I was just like you! My background was in biochemistry. I had a little transient CS experience over the years. But in no way do I think that contributed to when I actually decided to start learning CS/bioinformatics--I think it more so just let me know that it was an option. What really helped me start is I started doing CS stuff that was relevant to my work. You should definitely make it relevant: try to automate things that you currently have to do on the computer. For example, anything you have to do in excel on a regular basis.
      Knowing your way around linux is very useful. You can make an AWS free tier account or buy a 30 dollar raspberry pi to get started. I started linux on an raspberry pi back in the day before I had the courage to use the actual HPC we had at work.
      I wanted to make videos for people just starting out. But those videos have a grand total of like 30 views so I lost motivation (my linux tutorials).
      In summary, just start using it and you will pick it up. I remember a time where it would take me hours to make and troubleshoot a simple python script (not all that long ago!). Now I feel like my grasp on python is on par with my grasp of the english language haha.

  • @emtiazhossainhritan3439
    @emtiazhossainhritan3439 Год назад

    Thanks a lot!

  • @tenzintseten8928
    @tenzintseten8928 Год назад

    Great video. Can you explain bit more on the command used for making triplicates. Thanks

    • @sanbomics
      @sanbomics  Год назад

      Sure, I just made up random ordered values in triplicate then zipped the lists together with a label for the weeks. For weeks i just looped from 1-8 weeks and made a new list with [1,1,1] + [2,2,2] + .... + [8,8,8] = [1,1,1,2,2,2,...,8,8,8]. So when they were zipped together in the same order the labels matched the values.

    • @tenzintseten8928
      @tenzintseten8928 Год назад

      Thanks a lot. Your video was really helpful. 👍👍

  • @ibrahimalotaibi2399
    @ibrahimalotaibi2399 Год назад

    The plot at 1:55 looks prettier.

    • @sanbomics
      @sanbomics  Год назад

      I would disagree but it is a matter of opinion xD

    • @ibrahimalotaibi2399
      @ibrahimalotaibi2399 Год назад

      @@sanbomics Thanks for the effort. ANW.