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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.