Posts

Showing posts with the label numpy

How to plot product concentrations in different strains using python?

Image
The most common type of graphs that we, as experimental biologists make, are bar graphs. When we want to compare: - the amount of a product secreted by different conditions or cells - The enzyme activity in different conditions or cells or similar cases when we want to compare the value of an observation at different conditions we typically plot a bar graph. Also, with replicates of experiments we plot the mean and standard deviations of the experiment. Excel is perhaps the quickest way to draw a single such graph but in case you want to make similar graphs for several observation or plot two or more such graphs in one figure as subplots, using python may be a better choice unless we want to spend time in adjusting ech graph into a powerpoint slide of in inkscape to make a collage. Here we will see how to plot these kind of graphs using python. We will use numpy , pandas and matplotlib packages to do this. We will take an example of observations depicting the concentration (g/l) ...