getTheta: Get the membership matrix and centers

Description Usage Arguments Value

Description

Compute the membership matrix and cluster centers based on pure cells.

Usage

1
getTheta(expr, i.pure, pure.cluster, G)

Arguments

expr

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

i.pure

the indices of the pure cells..

pure.cluster

a vector containing 1, ..., K, indicating the cluster labels of pure cells.

G

the cell-by-nPC matrix obtained from SVD of the similarity matrix.

Value

A list containing

membership

the cell-by-K membership matrix.

centers

the K-by-gene membership matrix.


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