do_lsi: do_lsi

View source: R/do_lsi.R

do_lsiR Documentation

do_lsi

Description

Get a LSI matrix (cell-by-LSI) from TF-IDF matrix from single cell profiles

Usage

do_lsi(mat, dims = 30)

Arguments

mat

(sparse matrix) A saparse matrix of TF-IDF matrix (LSI) used for SVD

dims

number of LSIs to calculate (default:30)

Value

a sparse matrix of LSI

Examples

## Not run:  lsi_mat <- do_lsi(tfidf_mat, dims=30)


fl-yu/SCAVENGE documentation built on April 2, 2022, 10:56 a.m.