Description Usage Arguments Value See Also Examples

View source: R/binarizeMatrix.R

Trinarizes a matrix of measurements all at once, and returns the trinarized vectors as well as the trinarization thresholds and the p-values.

1 2 3 4 | ```
trinarizeMatrix(mat,
method = c("TASCA", "TASCB","kMeans"),
adjustment = "none",
...)
``` |

`mat` |
A n x m matrix comprising m raw measurements of n features. |

`method` |
The trinarization algorithm to be used. |

`adjustment` |
Specifies an optional adjustment for multiple testing that is applied to the p-values (see |

`...` |
Further parameters that are passed to the respective trinarization methods ( |

A n x (m+3) matrix of trinarized measurements. Here, the first m columns correspond to the trinarized measurements. The m+1-st and the m+2-st column comprises the trinarization thresholds for the features, and the m+3-nd column contains the p-values.

`TASC`

, `trinarize.kMeans`

, `p.adjust`

1 2 | ```
tri <- trinarizeMatrix(t(iris[,1:4]))
print(tri)
``` |

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.