simulate_phenotype: Simulate phenotypes correlated to labels pivoted into two...

Description Usage Arguments Value Author(s) Examples

Description

Simulate phenotypes correlated to labels pivoted into two groups

Usage

1
simulate_phenotype(labels.true, meandiff, sd)

Arguments

labels.true

Vector of labels

meandiff

difference of means between positive and negative groups

sd

Standard deviation of the phenotype

Value

Simulated phenotype

Author(s)

Fabian Schmich

Examples

1
2
data(simulation)
phenotypes <- simulate_phenotype(labels.true = simulation$labels.true, meandiff = 0.5, sd = 1)


Search within the netprioR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.