binarize | R Documentation |
An input matrix (class matrix or simple_triplet_matrix) with numeric values will be turned into a binary (logical) matrix. The top values of each column will be assigned TRUE values.
binarize(.Object, ...) ## S4 method for signature 'simple_triplet_matrix' binarize( .Object, top, reduce = TRUE, mc = FALSE, progress = TRUE, verbose = TRUE ) ## S4 method for signature 'matrix' binarize(.Object, top, verbose = TRUE)
.Object |
input object |
... |
Further arguments (unused). |
top |
an integer value, the n values with the highes values that will be TRUE |
reduce |
logical, whether to drop row labels of a simple_triplet_matrix with no TRUE value in the matrix |
mc |
Whether to use multicore, passed into |
progress |
A |
verbose |
logical |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.