DiffXTables: Pattern Analysis Across Contingency Tables

Statistical hypothesis testing of pattern heterogeneity via differences in underlying distributions across multiple contingency tables. Five tests are included: the comparative chi-squared test (Song et al. 2014) <doi:10.1093/nar/gku086> (Zhang et al. 2015) <doi:10.1093/nar/gkv358>, the Sharma-Song test (Sharma et al. 2021) <doi:10.1093/bioinformatics/btab240>, the heterogeneity test, the marginal-change test (Sharma et al. 2020) <doi:10.1145/3388440.3412485>, and the strength test (Sharma et al. 2020) <doi:10.1145/3388440.3412485>. Under the null hypothesis that row and column variables are statistically independent and joint distributions are equal, their test statistics all follow an asymptotically chi-squared distribution. A comprehensive type analysis categorizes the relation among the contingency tables into type null, 0, 1, and 2 (Sharma et al. 2020) <doi:10.1145/3388440.3412485>. They can identify heterogeneous patterns that differ in either the first order (marginal) or the second order (differential departure from independence). Second-order differences reveal more fundamental changes than first-order differences across heterogeneous patterns.

Version: 0.1.3
Depends: R (≥ 3.0), pander
Imports: Rdpack (≥ 0.6-1)
Suggests: Ckmeans.1d.dp, FunChisq, knitr, rmarkdown, testthat
Published: 2021-05-16
Author: Ruby Sharma ORCID iD [aut], Joe Song ORCID iD [aut, cre]
Maintainer: Joe Song <joemsong at cs.nmsu.edu>
License: LGPL (≥ 3)
NeedsCompilation: no
Citation: DiffXTables citation info
Materials: README NEWS
CRAN checks: DiffXTables results

Documentation:

Reference manual: DiffXTables.pdf
Vignettes: Using the 'DiffXTables' R package to detect heterogeneity

Downloads:

Package source: DiffXTables_0.1.3.tar.gz
Windows binaries: r-devel: DiffXTables_0.1.3.zip, r-release: DiffXTables_0.1.3.zip, r-oldrel: DiffXTables_0.1.3.zip
macOS binaries: r-release (arm64): DiffXTables_0.1.3.tgz, r-oldrel (arm64): DiffXTables_0.1.3.tgz, r-release (x86_64): DiffXTables_0.1.3.tgz, r-oldrel (x86_64): DiffXTables_0.1.3.tgz
Old sources: DiffXTables archive

Reverse dependencies:

Reverse suggests: FunChisq

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DiffXTables to link to this page.