simulate_phenotype {netprioR} | R Documentation |
Simulate phenotypes correlated to labels pivoted into two groups
simulate_phenotype(labels.true, meandiff, sd)
labels.true |
Vector of labels |
meandiff |
difference of means between positive and negative groups |
sd |
Standard deviation of the phenotype |
Simulated phenotype
Fabian Schmich
data(simulation) phenotypes <- simulate_phenotype(labels.true = simulation$labels.true, meandiff = 0.5, sd = 1)