# Run PathoStat

#### Solaiappan Manimaran, Yue Zhao

#### 2020-03-28

## Introduction

PathoStat is a R shiny package, designed for performing Statistical Microbiome Analysis on metagenomics results from sequencing data samples. In particular, it supports analyses on the PathoScope generated report files.

The package includes:

- Data Summary and Filtering
- Relative Abundance plots (Stacked Bar Plot, Heatmap)
- Multiple species boxplot visualization
- Diversity analysis (Alpha and Beta diversity)
- Differential Expression (DEseq2, edgeR)
- Dimension Reduction (PCA, PCoA)
- Biomarker identification

## Installation

To begin, install Bioconductor and simply run the following to automatically install PathoStat and all the dependencies as follows.

    if (!requireNamespace("BiocManager", quietly=TRUE))
        install.packages("BiocManager")
    BiocManager::install("PathoStat")

If you want to install the latest development version of PathoStat from Github, use devtools to install it as follows:

    require(devtools)
    install_github("mani2012/PathoStat", build_vignettes=TRUE)

## Run Pathostat

    require(PathoStat)
    runPathoStat()

# Session info

    #> R Under development (unstable) (2020-03-10 r77920)
    #> Platform: x86_64-w64-mingw32/x64 (64-bit)
    #> Running under: Windows Server 2012 R2 x64 (build 9600)
    #>
    #> Matrix products: default
    #>
    #> locale:
    #> [1] LC_COLLATE=C
    #> [2] LC_CTYPE=English_United States.1252
    #> [3] LC_MONETARY=English_United States.1252
    #> [4] LC_NUMERIC=C
    #> [5] LC_TIME=English_United States.1252
    #>
    #> attached base packages:
    #> [1] stats     graphics  grDevices utils     datasets  methods   base
    #>
    #> loaded via a namespace (and not attached):
    #>  [1] compiler_4.0.0  magrittr_1.5    htmltools_0.4.0 tools_4.0.0
    #>  [5] yaml_2.2.1      Rcpp_1.0.4      stringi_1.4.6   rmarkdown_2.1.1
    #>  [9] knitr_1.28      stringr_1.4.0   digest_0.6.25   xfun_0.12
    #> [13] rlang_0.4.5     evaluate_0.14