Crandore Hub

countprop

Calculate Model-Based Metrics of Proportionality on Count-Based Compositional Data

Calculates metrics of proportionality using the logit-normal multinomial model. It can also provide empirical and plugin estimates of these metrics.

README

<!-- badges: start -->
[![CRAN](https://www.r-pkg.org/badges/version/countprop?color=blue)](https://cran.r-project.org/package=countprop)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/countprop?color=green)](https://www.r-pkg.org/pkg/countprop)
<!-- badges: end -->

**countprop**: Calculate Model-Based Metrics of Proportionality on Count-Based Compositional Data

This package allows estimation of several types of proportionality metrics for count-based compositional data such as 16S, metagenomic, and single-cell sequencing data. The package includes functions that allow standard empirical estimates of these proportionality metrics, as well as estimates based on the multinomial logit-normal model.

**countprop** is available on CRAN. To install, run the following R code:
```r
install.packages("countprop")
```

Alternatively, to install this package from github, run the following code:
```r
if (!require(devtools)) {
  install.packages("devtools")
  library(devtools)
}
install_github("kevinmcgregor/countprop", dependencies=TRUE, build_vignettes=TRUE)
```

Once the package is loaded into R, you can view the vignette:
```r
library(countprop)
vignette("countprop")
```

Versions across snapshots

VersionRepositoryFileSize
1.1.1 rolling linux/jammy R-4.5 countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 rolling linux/noble R-4.5 countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 rolling source/ R- countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 latest linux/jammy R-4.5 countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 latest linux/noble R-4.5 countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 latest source/ R- countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 2026-04-26 source/ R- countprop_1.1.1.tar.gz 264.9 KiB
1.1.1 2026-04-23 source/ R- countprop_1.1.1.tar.gz 264.9 KiB
1.0.1 2025-04-20 source/ R- countprop_1.0.1.tar.gz 265.2 KiB

Dependencies (latest)

Imports

Suggests