sample_zero_mscor_data: Sample mscor coefficients from pre-computed covariance...

Description Usage Arguments Value See Also Examples

View source: R/fn_simulation.R

Description

Sample mscor coefficients from pre-computed covariance matrices

Usage

1
2
sample_zero_mscor_data(cov_matrices, number_of_samples = 100,
  number_of_datasets = 100)

Arguments

cov_matrices

a list of pre-computed covariance matrices

number_of_samples

the number of samples available in the expression data

number_of_datasets

the number of mscor coefficients to be sampled from each covariance matrix

Value

a vector of mscor coefficients

See Also

sample_zero_mscor_cov

Examples

1
2
3
4
5
#we select from the pre-computed covariance matrices in SPONGE
#100 for m = 5 miRNAs and gene-gene correlation 0.6
cov_matrices_selected <- precomputed_cov_matrices[["5"]][["0.6"]]
sample_zero_mscor_data(cov_matrices = cov_matrices_selected,
number_of_samples = 200, number_of_datasets = 10)

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