View source: R/fn_simulation.R
sample_zero_mscor_data | R Documentation |
Sample mscor coefficients from pre-computed covariance matrices
sample_zero_mscor_data( cov_matrices, number_of_samples = 100, number_of_datasets = 100 )
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 |
a vector of mscor coefficients
sample_zero_mscor_cov
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.