simulate_phenotype {netprioR}R Documentation

Simulate phenotypes correlated to labels pivoted into two groups

Description

Simulate phenotypes correlated to labels pivoted into two groups

Usage

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

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

[Package netprioR version 1.20.0 Index]