MetaLonDA
METAgenomic LONgitudinal Differential Abundance method
Science Score: 33.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: acm.org -
✓Committers with academic emails
3 of 4 committers (75.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Keywords
Repository
METAgenomic LONgitudinal Differential Abundance method
Basic Info
- Host: GitHub
- Owner: aametwally
- License: other
- Language: R
- Default Branch: master
- Size: 23.2 MB
Statistics
- Stars: 16
- Watchers: 3
- Forks: 6
- Open Issues: 8
- Releases: 0
Topics
Metadata Files
README.md
What is MetaLonDA?
MetaLonDA (METAgenomic LONgitudinal Differential Abundance method) is a method that identifies the significant time intervals of microbial features in longitudinal studies. MetaLonDA has the ability to handle the inconsistencies and common challenges associated with human studies, such as variable sample collection times and uneven number of time points along the subjects’ longitudinal study. The method employs a negative binomial distribution in conjunction with a semi-parametric SS-ANOVA to model the read counts. Then, it performs the significance testing based on unit time intervals using permutation testing procedure.
Publications:
- Ahmed A. Metwally, Jie Yang, Christian Ascoli, Yang Dai, Patricia W. Finn, and David L. Perkins. "MetaLonDA: a flexible R package for identifying time intervals of differentially abundant features in metagenomic longitudinal studies", Microbiome, 2018. [paper]
- Ahmed A. Metwally, Patricia W. Finn, Yang Dai, and David L. Perkins. "Detection of Differential Abundance Intervals in Longitudinal Metagenomic Data Using Negative Binomial Smoothing Spline ANOVA." ACM BCB, 2017. [paper]
Getting Started
This section details steps for installing and running MetaLonDA. If you experience difficulty installing or running the software, please contact (Ahmed Metwally: ametwall@stanford.edu).
Prerequisites
- R(>= 3.2.0)
Installation
Install MetaLonDA from CRAN:
Install the latest released version from CRAN: https://cran.r-project.org/web/packages/MetaLonDA/index.html
install.packages("MetaLonDA")
Install MetaLonDA from GitHub:
Download the latest development code of MetaLonDA from GitHub using devtools
library(devtools)
install_github("aametwally/MetaLonDA", ref = "master")
Example:
``` library(MetaLonDA)
Load read counts of 8 features from 100 samples. Samples are from 2 groups, 5 subjects per group, and 10 time points per subject.
data(metalondatestdata) View(metalondatestdata[,1:20]) ```

```
Create Group, Time, and ID annotation vectors
n.group = 2 n.sample = 5 n.timepoints = 10 Group = factor(c(rep("A", n.samplen.timepoints), rep("B",n.samplen.timepoints))) Time = rep(rep(1:n.timepoints, times = n.sample), 2) ID = factor(rep(1:(2*n.sample), each = n.timepoints))
Define the prediction timeponits
points = seq(1, 10, length.out = 100) ```
Test one feature
```
Identify significant time intervals of the 5th feature:
output.metalonda.f5 = metalonda(Count = metalondatestdata[5,], Time = Time, Group = Group, ID = ID, n.perm = 100, fit.method = "nbinomial", points = points, text = rownames(metalondatestdata)[5], parall = FALSE, pvalue.threshold = 0.05, adjust.method = "BH", time.unit = "days", ylabel = "Normalized Count", col = c("black", "green"), prefix = "Test_F5") ```
In our example, we used 20 permutations just to showcase how MetaLonDA works. In real analysis, this number should be much higher. Three figures are generated after running the above snippet:
- Figure shows the trajectory of the feature's count across different time points:
2. Figure shows fitted spline for each group:

- In case there is a significant time interval, the following figure is generated to highlight the significant intervals.

Test all features
```
Identify significant time intervals for all features:
output.metalonda.all = metalondaAll(Count = metalondatestdata, Time = Time, Group = Group, ID = ID, n.perm = 100, fit.method = "nbinomial", num.intervals = 100, parall = FALSE, pvalue.threshold = 0.05, adjust.method = "BH", time.unit = "hours", norm.method = "none", prefix = "Test_metalondaALL", ylabel = "Read Counts", col = c("black", "green"))
```
After running the above snippet for testing all features in the count matrix, along with the 2-3 figures for each feature, MetaLonDA produces the following two summary files:
1. Figure illustrates time intervals of differentially abundant features between the two groups. Each line represents a range of the significant time interval of the corresponding feature.

2. Descriptive summary all signifcant time intervals of differentially abundant features.
Bugs and Suggestions
MetaLonDA is under active research development. Please report any bugs/suggestions to Ahmed Metwally (ametwall@stanford.edu).
Owner
- Name: Ahmed A. Metwally
- Login: aametwally
- Kind: user
- Location: Palo Alto, CA
- Company: Stanford University
- Website: https://www.linkedin.com/in/aametwally/
- Repositories: 48
- Profile: https://github.com/aametwally
I create ML methods and algorithms to understand how diseases progress over time
GitHub Events
Total
- Fork event: 1
Last Year
- Fork event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Ahmed A. Metwally | a****2@u****u | 130 |
| Ahmed Metwally | a****y@1****u | 3 |
| Ahmed A. Metwally | a****y@s****u | 2 |
| Nate Olowo | 3****h | 1 |
Committer Domains (Top 20 + Academic)
Packages
- Total packages: 1
-
Total downloads:
- cran 163 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
cran.r-project.org: MetaLonDA
Metagenomics Longitudinal Differential Abundance Method
- Homepage: https://github.com/aametwally/MetaLonDA
- Documentation: http://cran.r-project.org/web/packages/MetaLonDA/MetaLonDA.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 1.1.8
published about 6 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- DESeq2 * imports
- doParallel * imports
- edgeR * imports
- ggplot2 * imports
- gss * imports
- metagenomeSeq * imports
- parallel * imports
- plyr * imports
- pracma * imports
- zoo * imports
- knitr * suggests
- rmarkdown * suggests