graphsim: Simulate Expression Data from 'igraph' Networks

Functions to develop simulated continuous data (e.g., gene expression) from a sigma covariance matrix derived from a graph structure in 'igraph' objects. Intended to extend 'mvtnorm' to take 'igraph' structures rather than sigma matrices as input. This allows the use of simulated data that correctly accounts for pathway relationships and correlations. This allows the use of simulated data that correctly accounts for pathway relationships and correlations. Here we present a versatile statistical framework to simulate correlated gene expression data from biological pathways, by sampling from a multivariate normal distribution derived from a graph structure. This package allows the simulation of biological pathways from a graph structure based on a statistical model of gene expression. For example methods to infer biological pathways and gene regulatory networks from gene expression data can be tested on simulated datasets using this framework. This also allows for pathway structures to be considered as a confounding variable when simulating gene expression data to test the performance of genomic analyses.

Version: 1.0.3
Depends: R (≥ 2.10)
Imports: gplots, igraph, mvtnorm, matrixcalc, Matrix, graphics
Suggests: devtools, knitr (≥ 1.5), markdown, prettydoc, R.rsp, rmarkdown, testthat, scales, vdiffr
Published: 2022-09-12
DOI: 10.32614/CRAN.package.graphsim
Author: S. Thomas Kelly [aut, cre], Michael A. Black [aut, ths], Robrecht Cannoodt [ctb], Jason Cory Brunson [ctb]
Maintainer: S. Thomas Kelly <tomkellygenetics at>
License: GPL-3
NeedsCompilation: no
Citation: graphsim citation info
Materials: README NEWS
In views: Omics
CRAN checks: graphsim results


Reference manual: graphsim.pdf
Vignettes: Simulating network graph structure in continuous data


Package source: graphsim_1.0.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): graphsim_1.0.3.tgz, r-oldrel (arm64): graphsim_1.0.3.tgz, r-release (x86_64): graphsim_1.0.3.tgz, r-oldrel (x86_64): graphsim_1.0.3.tgz
Old sources: graphsim archive

Reverse dependencies:

Reverse suggests: leiden


Please use the canonical form to link to this page.