noisy_cor: Generate noisy bivariate normal data and measure correlation

Description Usage Arguments Value

Description

Generate noisy bivariate normal data and measure correlation

Usage

1
noisy_cor(num_genes, true_cor, noise_var, to_file = FALSE)

Arguments

num_genes

Number of observations.

true_cor

True correlation.

noise_var

Variance of additional noise, independent for the two variables.

to_file

Whether to write the results to an RData file.

Value

Observerd correlation.


airoldilab/stat221 documentation built on May 10, 2019, 8:01 a.m.