apclusK: Clustering genes to k clusters using affinity propagation...

Description Usage Arguments Value

View source: R/GenePattern.R

Description

Runs affinity propagation clustering.

Usage

1
2
3
apclusK(mat, k = 7, metric = "pearson", negDist = NULL,
  cell_labels = NULL, check_outlier_pattern = FALSE, check_min_size = 5,
  check_cor_thr = -0.5, ...)

Arguments

mat

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

k

Desired number of gene clusters.

metric

Metric used to compute the paired distance - default is pearson correlation distance.

negDist

The dissimilarity matrix given by user.

cell_labels

cell clustering labels, it must be given when check_outlier_pattern = TRUE.

check_outlier_pattern

Detect and remove negtive expression pattern dominated by rare cells.

check_min_size

Check the correlation of the cell cluster smaller than check_min_size with all gene clusters.

check_cor_thr

Correlation threshold to remove outlier pattern.

...

Additional arguments passed on to apclusterK.

Value

Gene clustering results.


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