update_c: Update Clusters

Description Usage Arguments Value

Description

Updates the cluster membership for each iteration of SparseDC. Runs inside sparse_dc_fun.

Usage

1
update_c(mu_1, mu_2, pdat1, pdat2, ncluster)

Arguments

mu_1

The center values for each cluster in condition 1.

mu_2

The center values for each cluster in condition 2.

pdat1

The centered data from condition 1, columns should be samples (cells) and rows should be features (genes).

pdat2

The centered data from condition 2, columns should be samples (cells) and rows should be features (genes). The number of genes should be the same as pdat1. as in pdat1.

ncluster

The number of clusters present in the data.

Value

A list containing the cluster membership for condition 1 and condition 2.


SparseDC documentation built on May 2, 2019, 9:29 a.m.