Signac (version 0.2.4)

RunTFIDF: Compute the term-frequency inverse-document-frequency

Description

Run term frequency inverse document frequency (TF-IDF) normalization

Usage

RunTFIDF(object, ...)

# S3 method for default RunTFIDF( object, assay = NULL, method = 1, scale.factor = 10000, verbose = TRUE, ... )

# S3 method for Assay RunTFIDF( object, assay = NULL, method = 1, scale.factor = 10000, verbose = TRUE, ... )

# S3 method for Seurat RunTFIDF( object, assay = NULL, method = 1, scale.factor = 10000, verbose = TRUE, ... )

Arguments

object

A Seurat object

...

Arguments passed to other methods

assay

Name of assay to use

method

Which TF-IDF implementation to use. Choice of:

scale.factor

Which scale factor to use. Default is 10000.

verbose

Print progress

Value

Returns a Seurat object

Examples

Run this code
# NOT RUN {
mat <- matrix(data = rbinom(n = 25, size = 5, prob = 0.2), nrow = 5)
RunTFIDF(object = mat)
RunTFIDF(atac_small[['peaks']])
RunTFIDF(object = atac_small)
# }

Run the code above in your browser using DataLab