Tracking the Dyanamics of Mpox Genomic Lineages Over the Years #851
karthi-16
announced in
2024 Plotnine Contest
Replies: 3 comments
-
Ahoy @karthi-16 , |
Beta Was this translation helpful? Give feedback.
0 replies
-
@karthi-16, The winning submission has been announced here. Thank you for taking part in the contest. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Authors
Karthikeyan Govindan
Links
github, linkedin
Full description
This area plot, created using plotnine in Python, predicts the spread of genomic lineages over time. Such plots are valuable for forecasting disease spread, investigating outbreaks, assessing vaccine efficacy, and understanding disease dynamics.
This plot clearly illustrates the emergence of new lineages during the 2021 mpox outbreak with rise in their overall percentages.
Such plots are highly valuable for disease outbreak and monitoring analysis as they provide clear visualizations of how new lineages or strains evolve and proliferate over time. By depicting the rise in percentages of different lineages, these plots help researchers and public health officials identify trends, assess the spread of new variants, and develop targeted strategies for containment and response.
The code to reproduce the plot is provided in the Colab notebook, along with the data used. For similar analyses, please import your own data.
The first part of the code formats the data into a long format suitable for use with plotnine (ggplot2)
This plotting code in plotnine includes:
geom_area(alpha=0.9): Creates an area plot with high opacity.
scale_fill_manual(values=colors): Sets custom colors for the fill.
theme_linedraw(): Applies a clean, minimalist theme.
labs(...): Adds titles, labels, and captions.
theme(...): Customizes text appearance (axis labels, title, caption).
xlab and ylab: Label the x and y axes.
Code repository
https://github.com/karthi-16/Mpox_epidemiology.git
Beta Was this translation helpful? Give feedback.
All reactions