Description Usage Arguments Author(s) Examples

Compute matrix of simulated Z scores about expected values of 0 - ie under a null of no association at any SNP

1 | ```
simulated_z_null(snps, freq, nrep = 1)
``` |

`snps` |
The snps at which we wish to compute the expected Z Score |

`freq` |
Haplotype frequencies as a data.frame, with column Probability indicating relative frequency in controls. |

`nrep` |
Number of replicates (simulated vectors of Z scores) under this scenario. Default=1 |

Mary Fortune and Chris Wallace

1 2 3 | ```
freq=fake_freq(nhaps=100,nsnps=5) # fake haplotype frequency data
Z=simulated_z_null(snps=paste0("s",1:5),freq=freq,nrep=3)
Z # no causal variants
``` |

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.