quartetBTinferencePlot | R Documentation |

Plot a 2-d probability simplex, with points for all normalized quartet count vectors. Colors indicate B- or T-quartets from TINNIK algorithm, at specified test levels.

```
quartetBTinferencePlot(pTable, Bquartets, test, alpha, beta, cex = 1)
```

`pTable` |
table of quartets and p-values |

`Bquartets` |
indicator vector for B-quartets (1=B, 0=T), ordered as in pTable |

`test` |
test model used for tree null hypothesis; options are |

`alpha` |
significance level used by TINNIK for test |

`beta` |
significance level used by TINNIK for star tree test |

`cex` |
scaling factor for size of plotted symbols |

The first argument of this function is a table of quartets and p-values. The
plot may show results using either the T3, or 2-cut
test, and a star tree test.
The p-values must be computed by or before previous calls to
`TINNIK`

. The second argument is the indicator vector for B/T quartets produced by `TINNIK`

.

`TINNIK`

, `quartetTestPlot`

```
data(pTableYeastRokas)
out=TINNIKdist(pTableYeastRokas,test="T3",alpha=.05,beta=.05)
quartetBTinferencePlot(pTableYeastRokas,out$B,test="T3",alpha=.05,beta=.05)
```

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.