0% found this document useful (0 votes)
32 views19 pages

Biological Data Visualization with Python & R

The document discusses the importance of biological data visualization using Python and R, highlighting their roles in understanding complex datasets and communicating results. It outlines key libraries and tools available in both programming languages, such as Matplotlib and ggplot2, and emphasizes their applications in various biological fields. The conclusion stresses that using both languages together enhances accuracy and research impact.

Uploaded by

amina abid
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views19 pages

Biological Data Visualization with Python & R

The document discusses the importance of biological data visualization using Python and R, highlighting their roles in understanding complex datasets and communicating results. It outlines key libraries and tools available in both programming languages, such as Matplotlib and ggplot2, and emphasizes their applications in various biological fields. The conclusion stresses that using both languages together enhances accuracy and research impact.

Uploaded by

amina abid
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Biological Data Visualization

Using Python And R

Presented By
Ammara Fatima
Areej Fatima
Hamza Malik
Introduction
Biological data visualization is the graphical
representation of biological data to:
• Understand complex datasets
• Identify patterns, trends, and
relationships
• Communicate results effectively
Why Visualization is Important in
Biology
• Biological data is large and complex
• Visualization helps in:
 Data exploration
 Error detection
 Decision making
Tools For Visualization
Two popular programming languages:
• Python
• R
Both are open source and widely used in
bioinformatics.
Python in biological Visualization
Python is easy to learn and widely used in
bioinformatics.
Some important python libraries are
Matplotlib, Seaborn, Pandas,and BioPython.
Example visualization in python
import [Link] as plt

x = ['Thur', 'Fri', 'Sat', 'Sun']


y = [170, 120, 250, 190]

[Link](x, y)
[Link]("Bar Chart")
[Link]("Day")
[Link]("Total Bill")
[Link]()
Output
R in biological Visualization

R is especially strong in statistics and


bioinformatics.
It provides powerful packages like ggplot2,
Bioconductor, shiny, and Plotly
• Ggplot2: The most renowned R
visualization package, based on the
Grammar of graphics. It allows for highly
customizable, layered plots and is a go to
for complex biological visualizations like
volcano plots, heatmaps,and genomic data
representation.
• Bioconductor: An extensive open-source
project for high throughput genomic data
analysis.

• Shiny: An R package that allows


researchers to build interactive web
applications and dashboards directly from
R.
Example Visualization in R
barplot(airquality$Ozone,
main = 'Ozone Concenteration in air',
xlab = 'ozone levels', horiz = TRUE)
Output
Advantages Of Python
• Easy to integrate with AI and ML
• Faster development
• General purpose language
Advantages Of R
• Best for statistics
• Research friendly
• Excellent graphical quality
Application In Biology
• Genomics
• Proteomics
• Drug discovery
• Disease analysis
What do you need to know to learn
Python and R?
If you intend to use through Biowulf, no
installation necessary.
Python:
• You can download directly from
[Link]
R:
• Use these instructions from posit.
How do we execute our code?
With both Python and R , code is executed

• Interactively line by line from the


command line
• Interactively in an IDE (Recommanded)
• As a script submitted from the command
line or in an IDE

Elements of programming with


Python and R
• Libraries / modules
• Syntax
• Variables
• Functions
• Data types
• Loops and conditionals
Conclusion
Both Python and R are powerful tools for
biological data visualization. Using them
together gives better Accuracy, Clarity, and
Research impact.

You might also like