Skip to contents

getDataFromMvrnorm

Usage

getDataFromMvrnorm(list_var, input2mvrnorm, n_genes = 1)

Arguments

list_var

Either c() or output of init_variable

input2mvrnorm

list with mu and covariance matrix, output of getInput2mvrnorm

n_genes

Number of genes to simulate

Value

data simulated from multivariate normal distribution

Examples

list_var <- init_variable()
#> Variable name should not contain digits, spaces, or special characters.
#> If any of these are present, they will be removed from the variable name.
input <- getInput2mvrnorm(list_var)
simulated_data <- getDataFromMvrnorm(list_var, input, n_genes = 10)