https://github.com/erictleung/shinydiversity

Interactive application to explore various ecological diversity metrics

https://github.com/erictleung/shinydiversity

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 9 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 9 committers (11.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary

Keywords

amplicon-sequencing diversity ecology interactive-visualizations metagenomics microbiome r shiny
Last synced: 4 months ago · JSON representation

Repository

Interactive application to explore various ecological diversity metrics

Basic Info
Statistics
  • Stars: 5
  • Watchers: 5
  • Forks: 8
  • Open Issues: 18
  • Releases: 0
Topics
amplicon-sequencing diversity ecology interactive-visualizations metagenomics microbiome r shiny
Created over 8 years ago · Last pushed almost 8 years ago
Metadata Files
Readme Contributing License Code of conduct

README.md

shinydiversity

Build Status Join the chat at https://gitter.im/erictleung/shinydiversity DOI

Interactive application to explore various ecological diversity metrics

Table of Contents

To Run

```R

Install Shiny

install.packages("shiny")

Run application

library(shiny) runGitHub("shinydiversity", "erictleung") ```

Prerequisites for Local Development

Development Environments

  • R (https://www.r-project.org/)
  • RStudio (https://www.rstudio.com/)

R Packages

  • shiny (http://shiny.rstudio.com/)
  • phyloseq (http://joey711.github.io/phyloseq/)
  • ggplot2 (ggplot2.tidyverse.org)
  • knitr (https://yihui.name/knitr/)
  • markdown (https://cran.r-project.org/package=markdown)
  • rmarkdown (https://rmarkdown.rstudio.com/)
  • plyr (http://had.co.nz/plyr/)

```R

Install prerequisite R packages

pkgs <- c("shiny", "ggplot2", "knitr", "markdown" , "rmarkdown", "plyr") install.packages(pkgs)

Try http:// if https:// URLs are not supported

source("https://bioconductor.org/biocLite.R") biocLite('phyloseq') ```

Problem

There are many alpha and beta diversity metrics to analyze microbial ecological or microbiome data. Although there are other more comprehensive tools to analyze microbial data, each of them assumes sufficient amount of knowledge on the differences among the diversity indices and how underlying assumptions of the indices may interpret your data in unexpected ways. Alpha diversity describes an estimate of the total number of species in a sample. Beta diversity describes the differences between samples. Below are some example of the number of metrics you can use.

Drawing

Plot from "Alpha diversity graphics" page for phyloseq showing various alpha diversity metrics to choose from http://joey711.github.io/phyloseq/plot_richness-examples

Below are just a few beta diversity metrics to choose from

```R

library(phyloseq) unlist(distanceMethodList) UniFrac1 UniFrac2 DPCoA JSD vegdist1 vegdist2 "unifrac" "wunifrac" "dpcoa" "jsd" "manhattan" "euclidean" vegdist3 vegdist4 vegdist5 vegdist6 vegdist7 vegdist8 "canberra" "bray" "kulczynski" "jaccard" "gower" "altGower" vegdist9 vegdist10 vegdist11 vegdist12 vegdist13 vegdist14 "morisita" "horn" "mountford" "raup" "binomial" "chao" vegdist15 betadiver1 betadiver2 betadiver3 betadiver4 betadiver5 "cao" "w" "-1" "c" "wb" "r" betadiver6 betadiver7 betadiver8 betadiver9 betadiver10 betadiver11 "I" "e" "t" "me" "j" "sor" betadiver12 betadiver13 betadiver14 betadiver15 betadiver16 betadiver17 "m" "-2" "co" "cc" "g" "-3" betadiver18 betadiver19 betadiver20 betadiver21 betadiver22 betadiver23 "l" "19" "hk" "rlb" "sim" "gl" betadiver24 dist1 dist2 dist3 designdist "z" "maximum" "binary" "minkowski" "ANY" length(unlist(distanceMethodList)) [1] 47 ```

With so many metrics to choose from, how do you know which is the "best" and how will your data affect the calculation of these metrics?

Proposed Project

Create an interactive Shiny application to show changes in your chosen alpha or beta diversity metrics to see how each changes based on simulated or real data. Some of these metrics are sensitive to single or double counts of species so this will be good to see how different distributions of counts will change these metrics and your interpretations of them. The project should be designed to give an intuitive understanding of how these metrics work.

More Comprehensive Tools

For more comprehensive microbiome data analysis that goes beyond the scope of just diversity indices and includes provenance of the analysis, we suggest looking at these other tools:

Acknowledgements

This project was initiated as a selected project at genomics hackathon hackseq in 2017.

Key developers in coding and brainstorming during the hackathon are:

Owner

  • Name: Eric Leung
  • Login: erictleung
  • Kind: user
  • Location: New York, NY

Data science generalist. Sharing knowledge and optimizing tools for learning and growth. Open-source and open-data advocate. Community learner.

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 71
  • Total Committers: 9
  • Avg Commits per committer: 7.889
  • Development Distribution Score (DDS): 0.465
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Eric Leung e****c@e****m 38
Roshan Noronha r****0 8
scatcher125 s****3@g****m 7
aimirza a****3@g****m 6
Akiff Manji a****i@d****a 5
Stelios Mpatziakas a****s@g****m 2
The Gitter Badger b****r@g****m 2
Akiff Manji a****i@g****m 2
Akiff Manji a****i@l****n 1

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels