Skip to content

graphsim

Simulate Expression Data from 'igraph' Networks

v1.0.4 · May 12, 2025 · GPL-3

Description

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.

Downloads

CRAN

512

Last 30 days

7864th

1.5K

Last 90 days

8.6K

Last year

Trend: +22.8% (30d vs prior 30d)

r2u

9

Last 30 days

48

Last 90 days

179

Last year

Trend: -40% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-x86_64

for unstated dependencies in vignettes

Warning in gzfile(file, mode) :
  cannot open compressed file '/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T//RtmpyNX8tp/runrid2c45f212d27', probable reason 'No space left on device'
Error in gzfile(file, mode) : cannot open the connection
Execution halted

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies gplots igraph mvtnorm matrixcalc Matrix leiden graphsim

Version History

7 tracked
new 1.0.4 Mar 10, 2026
updated 1.0.4 ← 1.0.3 diff May 12, 2025
updated 1.0.3 ← 1.0.2 diff Sep 11, 2022
updated 1.0.2 ← 1.0.1 diff Jul 29, 2021
updated 1.0.1 ← 1.0.0 diff Jul 16, 2020
updated 1.0.0 ← 0.1.2 diff Jul 1, 2020
new 0.1.2 Mar 15, 2020