Simulate phenotypes correlated to labels pivoted into two groups
simulate_phenotype(labels.true, meandiff, sd)
Vector of labels
difference of means between positive and negative groups
Standard deviation of the phenotype
phenotypes <- simulate_phenotype(labels.true = simulation$labels.true, meandiff = 0.5, sd = 1)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@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.