sample_zero_mscor_cov: Sampling zero multiple miRNA sensitivity covariance matrices

View source: R/fn_simulation.R

sample_zero_mscor_covR Documentation

Sampling zero multiple miRNA sensitivity covariance matrices

Description

Sampling zero multiple miRNA sensitivity covariance matrices

Usage

sample_zero_mscor_cov(
  m,
  number_of_solutions,
  number_of_attempts = 1000,
  gene_gene_correlation = NULL,
  random_seed = NULL,
  log.level = "ERROR"
)

Arguments

m

number of miRNAs, i.e. number of columns of the matrix

number_of_solutions

stop after this many instances have been samples

number_of_attempts

give up after that many attempts

gene_gene_correlation

optional, define the correlation of the first two elements, i.e. the genes.

random_seed

A random seed to be used for reproducible results

log.level

the log level, typically set to INFO, set to DEBUG for verbose logging

Value

a list of covariance matrices with zero sensitivity correlation

Examples

sample_zero_mscor_cov(m = 1,
number_of_solutions = 1,
gene_gene_correlation = 0.5)

mlist/SPONGE documentation built on Feb. 12, 2023, 1:22 a.m.