Skip to contents

Kolmogorov-Smirnov (KS) test is performed on the deconvolution results and the overall level of each cluster.

Usage

ksTest(spot_celltype, spot_clusters, cluster = NULL)

Arguments

spot_celltype

A data frame of the result of deconvolution, row is spot, col is celltype.

spot_clusters

A data frame contains clustering information for spots, row is spots.

cluster

A character. Use the first column in spot_clusters as the column name if NULL. Or provide your own column names that represent clustering information in spot_clusters.

Value

A data frame, row is spot_domain, col is celltype score.