getSimilarity: Compute similarity matrix

Description Usage Arguments Value

Description

Compute the cell-cell similarity matrix.

Usage

1
getSimilarity(expr, type = "log")

Arguments

expr

a cell-by-gene expression matrix, either the raw counts or log-transformed expressions.

type

"log" if expr has been normalized and log-transformed (default), or "count" if expr contains the raw counts.

method

the method to measure similarity between cells, one of {"cov", "cor", "inner},

Value

The cell-cell similarity matrix.


lingxuez/SOUP documentation built on May 28, 2019, 3:38 p.m.