sample_zero_mscor_cov: Sampling zero multiple miRNA sensitivity covariance matrices

Description Usage Arguments Value Examples

View source: R/fn_simulation.R

Description

Sampling zero multiple miRNA sensitivity covariance matrices

Usage

1
2
3
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

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

SPONGE documentation built on Nov. 8, 2020, 5:39 p.m.