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 Oct. 19, 2024, 6:26 a.m.