sample_zero_mscor_data {SPONGE} | R Documentation

## Sample mscor coefficients from pre-computed covariance matrices

### Description

Sample mscor coefficients from pre-computed covariance matrices

### Usage

    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

    #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)

[Package SPONGE version 1.6.2 Index]