DOI: 10.18129/B9.bioc.banocc    

This package is for version 3.8 of Bioconductor; for the stable, up-to-date release version, see banocc.

Bayesian ANalysis Of Compositional Covariance

Bioconductor version: 3.8

BAnOCC is a package designed for compositional data, where each sample sums to one. It infers the approximate covariance of the unconstrained data using a Bayesian model coded with `rstan`. It provides as output the `stanfit` object as well as posterior median and credible interval estimates for each correlation element.

Author: Emma Schwager [aut, cre], Curtis Huttenhower [aut]

Maintainer: George Weingart <george.weingart at>, Curtis Huttenhower <chuttenh at>

Citation (from within R, enter citation("banocc")):


To install this package, start R (version "3.5") and enter:

if (!requireNamespace("BiocManager", quietly = TRUE))

For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script BAnOCC (Bayesian Analysis of Compositional Covariance)
PDF   Reference Manual


biocViews Bayesian, ImmunoOncology, Metagenomics, Software
Version 1.6.1
In Bioconductor since BioC 3.5 (R-3.4) (2 years)
License MIT + file LICENSE
Depends R (>= 3.5.1), rstan (>= 2.17.4)
Imports coda (>= 0.18.1), mvtnorm, stringr
Suggests knitr, rmarkdown, methods, testthat
SystemRequirements C++11
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package banocc_1.6.1.tar.gz
Windows Binary
Mac OS X 10.11 (El Capitan) banocc_1.6.1.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: