Skip to content

ParthDoshi97/Metagenomic_Data_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Metagenomic Data Analysis and Visualization

License Python Version R version

This repository contains R and Python scripts for performing comprehensive metagenomic data analysis. The scripts are designed to calculate Alpha & Beta Diversity and create Taxonomy pie charts from ASV and OTU data collected from 16s RNA sequences. This script was were create to create specfic data analysis for one of my project

Features

Alpha Diversity Calculation: Measure the diversity within a single sample. Beta Diversity Calculation: Measure the diversity between different samples. Taxonomy Pie Charts: Visualize the composition of microbial communities.

Installation

To run the scripts, you'll need to have R and Python installed on your system along with the necessary libraries. Follow the instructions below to set up your environment:

R Setup

Install R from CRAN. Install the required R packages:

install.packages(c("phyloseq", "vegan", "ape", "ggplot2", "reshape2", "dplyr", "ggpubr"))

Python Setup

Install Python from Python.org. Install the required Python packages using pip:

pip install numpy pandas matplotlib seaborn

Usage

Running the R Script To calculate Alpha & Beta Diversity and create Taxonomy pie charts using the R script:

source("Alpha_&_Beta_diversity.R")

Running the Python Script To perform additional analysis and visualization with the Python script:

python pie_chart.py

Example plot the script will create

Figure 1: Alpha Diversity

Alpha Diversity

Figure 2: Beta Diversity

Beta Diversity

Figure 3: Taxonomy Pie Chart

Taxonomy Pie Chart

License

This project is licensed under the MIT License - see the LICENSE file for detail

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published