Skip to content

dependentsimr

Simulate Omics-Scale Data with Dependency

v1.0.0.0 · Jul 23, 2025 · MIT + file LICENSE

Description

Using a Gaussian copula approach, this package generates simulated data mimicking a target real dataset. It supports normal, Poisson, empirical, and 'DESeq2' (negative binomial with size factors) marginal distributions. It uses an low-rank plus diagonal covariance matrix to efficiently generate omics-scale data. Methods are described in: Yang, Grant, and Brooks (2025) <doi:10.1101/2025.01.31.634335>.

Downloads

140

Last 30 days

22125th

271

Last 90 days

271

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang ERROR
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-macos-arm64 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 details (15 non-OK)
ERROR r-devel-linux-x86_64-debian-clang

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘simulate_data.Rmd’ using rmarkdown

Quitting from simulate_data.Rmd:85-87 [unnamed-chunk-7]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlib_error_package_not_found>
Error in `fit_deseq()`:
! The package "DESeq2" is required Using type='DESeq2' requires DESeq2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'simulate_data.Rmd' failed with diagnostics:
The package "DESeq2" is required Using type='DESeq2' requires DESeq2
--- failed re-building ‘simulate_data.Rmd’

SUMMARY: processing the following file failed:
  ‘simulate_data.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-devel-linux-x86_64-debian-clang

tests

  Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(dependentsimr)
  > 
  > test_check("dependentsimr")
  Saving _problems/test-dependentsim-77.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-dependentsim.R:77:1'): (code run outside of `test_that()`) ─────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `fit_deseq(data)`: The package "DESeq2" is required Using type='DESeq2' requires DESeq2
  Backtrace:
      ▆
   1. └─dependentsimr::get_random_structure(...) at test-dependentsim.R:77:1
   2.   └─dependentsimr:::marginals_and_transform(datasets, types)
   3.     └─dependentsimr:::fit_deseq(data)
   4.       └─rlang::check_installed("DESeq2", reason = "Using type='DESeq2' requires DESeq2")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ]
  Error:
  ! Test failures.
  Execution halted
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-macos-arm64

*


            
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

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-debian-clang

tests

  Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(de

Dependency Network

Dependencies Reverse dependencies rlang dependentsimr

Version History

new 1.0.0.0 Mar 10, 2026