Description Usage Arguments Value Author(s) Examples

View source: R/netprioR-simulation.R

Simulate phenotypes correlated to labels pivoted into two groups

1 | ```
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

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

netprioR documentation built on Nov. 1, 2018, 5:06 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.