sig.pcs: Discover significant latent variation in data.

Description Usage Arguments Value

View source: R/CellCluster.R

Description

Calculate statistical significance of latent variation using jackstraw.

Usage

1
sig.pcs(mat, B = 20, threshold = 0.05, log = TRUE, scale = TRUE)

Arguments

mat

Gene expression matrix, columns are cells and rows are genes.

B

A number (a positive integer) of resampling iterations.

threshold

A numeric value between 0 and 1 to threshold p-values.

log

Comppute PCA of logarithm.

scale

Scale the gene expression.

Value

Number of significant pcs by permutation parallen analysis.


charliex210/sctools documentation built on Dec. 29, 2021, 11:19 p.m.