Skip to contents

Provides a formatted summary of SpaTopic results when the object is printed. This method displays key model metrics and explains how to access different components of the model output.

Usage

# S3 method for SpaTopic
print(x, ...)

Arguments

x

An object of class "SpaTopic" returned by the SpaTopic_inference function

...

Additional arguments passed to print methods (not used)

Value

No return value, called for side effect of printing

Details

The method displays: - Number of topics identified - Model perplexity (lower is better) - DIC (Deviance Information Criterion) for model comparison - A preview of the topic distributions across cell types - Instructions on how to access full results

Examples

# If gibbs.res is a SpaTopic object:
# print(gibbs.res)