sponge_build_null_model: Build null model for p-value computation

View source: R/fn_significance.R

sponge_build_null_modelR Documentation

Build null model for p-value computation

Description

Build null model for p-value computation

Usage

sponge_build_null_model(
  number_of_datasets = 1e+05,
  number_of_samples,
  cov_matrices = precomputed_cov_matrices,
  ks = seq(0.2, 0.9, 0.1),
  m_max = 8,
  log.level = "ERROR"
)

Arguments

number_of_datasets

the number of datesets defining the precision of the p-value

number_of_samples

the number of samples in the expression data

cov_matrices

pre-computed covariance matrices

ks

a sequence of gene-gene correlation values for which null models are computed

m_max

null models are build for each elt in ks for 1 to m_max miRNAs

log.level

The log level of the logging package

Value

a list (for various values of m) of lists (for various values of k) of lists of simulated data sets, drawn from a set of precomputed covariance matrices

Examples

sponge_build_null_model(100, 100,
cov_matrices = precomputed_cov_matrices[1:3], m_max = 3)

biomedbigdata/SPONGE documentation built on Feb. 6, 2023, 10:19 p.m.