Subsetting Top Significant Distribution Pairs and Output Graphics.

1 |

`obj` |
D3M object resulted from d3m. |

`ntop` |
the number of top distribution pairs to be investigated. Default is 10. |

`plot.it` |
whether output the grphics based on Q-Q plot. Defarult is plot.it=TRUE. |

this function extract a subset of the most significant distribution pairs based on p-values. The graphical representation is based on Q-Q plots, which represents the shape difference being tested by d3m function.

top.cases top significant distributions in case group.

top.control top significant distributions in control group.

pval p-values related to top significant distribution pairs.

Q-Q plots of distribution pairs.

Yusuke Matsui & Teppei Shimamura

1 2 3 4 5 6 | ```
library(D3M)
nrep <- 12
cases <- Map(rbeta,rep(30,nrep),rep(1,nrep),rep(5,nrep)); cases <- do.call("rbind",cases)
control <- Map(rbeta,rep(30,nrep),rep(1,nrep),rep(5,nrep)); control <- do.call("rbind",control)
obj <- d3m(cases,control,paranum = 101, q = 2, bsn = 1000)
topD3M(obj,ntop = 10,plot.it = TRUE)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.