Aligned topic distribution across different chains

alignmentMatrix(
  theta,
  sce,
  K,
  iter = 2000,
  chain = 4,
  SampleID_name = "cell_id"
)

Arguments

theta

Array. Stan output results of topic proportion.

sce

SingleCellExperiment.

K

Integer. Number of topics

iter

Integer. Iteration used for each chain, including warm-up.

chain

Integer. Number of chains used.

SampleID_name

Character. The variable indicate sample ID.

Value

Matrix.