Description Usage Arguments Value References Examples

A vector of the computed Bayes factors for the tested pathways.

1 | ```
NBF(y, G, P, a, b, s2, nu)
``` |

`y` |
Response vector of length N |

`G` |
Genotype matrix, with N rows and L columns (number of tested SNPs) |

`P` |
Pathway matrix, with L columns and M columns (number of tested pathways) |

`a` |
Hyper-parameter of the variance assumed for the integrated out SNP effects |

`b` |
Hyper-parameter of the variance assumed for the pathway effects |

`s2` |
Hyper-parameter of the Inverse-Chi-squared distribution assumed for the variance of the response vector |

`nu` |
Hyper-parameter of the Inverse-Chi-squared distribution assumed for the variance of the response vector |

A vector of the computed Bayes factors of the same length as the number of tested pathways

Evangelou, M., Dudbridge, F., Wernisch, L. (2014). Two novel pathway analysis methods based on a hierarchical model. Bioinformatics, 30(5), 690 - 697.

1 2 3 4 5 6 7 8 9 10 11 12 |

PAGWAS documentation built on May 2, 2019, 3:26 p.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.