TFIDF: TFIDF

View source: R/atac_processing.R

TFIDFR Documentation

TFIDF

Description

The Term Frequency - Inverse Document Frequency (TF-IDF) normalization, as implemented in Stuart & Butler et al. 2019.

Usage

TFIDF(x, sf = 10000)

Arguments

x

The matrix of occurrences

sf

Scaling factor

Value

An array of same dimensions as 'x'

Examples

m <- matrix(rpois(500,1),nrow=50)
m <- TFIDF(m)

plger/scDblFinder documentation built on Jan. 10, 2025, 3:23 a.m.