Publication quality line plots in python

  Рет қаралды 5,715

Sanbomics

Sanbomics

2 жыл бұрын

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
@m.a.k5940
@m.a.k5940 Жыл бұрын
the best available on youtube! Thank you.
@sanbomics
@sanbomics Жыл бұрын
Thank you :)
@gustavojuantorena
@gustavojuantorena 27 күн бұрын
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
@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 жыл бұрын
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!
@sanbomics
@sanbomics Жыл бұрын
You are welcome!
@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.
Make animated figures and gifs in python
6:34
Sanbomics
Рет қаралды 13 М.
Single cell analysis in python with Scanpy
20:13
Sanbomics
Рет қаралды 26 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 87 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 36 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 9 МЛН
Seaborn Is The Easier Matplotlib
22:39
NeuralNine
Рет қаралды 166 М.
17. Python to make nice figures. Part III: advanced plots
56:44
Taylor Sparks
Рет қаралды 28 М.
Publication Quality Line Graph in Excel
12:48
Vivo Phys - Evan Matthews
Рет қаралды 16 М.
Office Impersonations - The Office US
8:11
The Office
Рет қаралды 4,1 МЛН
7 Python Data Visualization Libraries in 15 minutes
15:03
Rob Mulla
Рет қаралды 74 М.
The Python Function You NEED For 2D Data
10:49
Mr. P Solver
Рет қаралды 36 М.
Fitting Raman Data using Python
14:21
Dr Manab
Рет қаралды 5 М.