preprocess: Preprocess pLDA input data

Description Usage Arguments Value Examples

View source: R/analysis_preprocess.R

Description

Preprocess pLDA input data. Keep only genes with across samples variance/mean > var.mean.cutoff and across samples max > row.max.cutoff.

Usage

1
preprocess(data, var.mean.cutoff = 1, row.max.cutoff = 10)

Arguments

data

Input matrix. A matrix of positive integers where rows represents cells (documents) and column represents genes (words).

var.mean.cutoff

Row variance/mean cutoff.

row.max.cutoff

Row max cutoff.

Value

Preprocessed data.

Examples

1
2
3
4
## Not run: 
preprocess(data=cell_by_gene_expr_matrix)

## End(Not run)

wuxiaotiankevin/pLDA documentation built on Nov. 11, 2019, 11:01 p.m.