BinarizeCounts | R Documentation |
Set counts >1 to 1 in a count matrix
BinarizeCounts(object, ...) ## Default S3 method: BinarizeCounts(object, assay = NULL, verbose = TRUE, ...) ## S3 method for class 'Assay' BinarizeCounts(object, assay = NULL, verbose = TRUE, ...) ## S3 method for class 'Seurat' BinarizeCounts(object, assay = NULL, verbose = TRUE, ...)
object |
A Seurat object |
... |
Arguments passed to other methods |
assay |
Name of assay to use. Can be a list of assays, and binarization will be applied to each. |
verbose |
Display messages |
Returns a Seurat
object
x <- matrix(data = sample(0:3, size = 25, replace = TRUE), ncol = 5) BinarizeCounts(x) BinarizeCounts(atac_small[['peaks']]) BinarizeCounts(atac_small)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.