print.SpaTopic {SpaTopic} | R Documentation |
Print method for SpaTopic objects
Description
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 class 'SpaTopic'
print(x, ...)
Arguments
x |
An object of class "SpaTopic" returned by the SpaTopic_inference function |
... |
Additional arguments passed to print methods (not used) |
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
Value
No return value, called for side effect of printing
Examples
# If gibbs.res is a SpaTopic object:
# print(gibbs.res)
[Package SpaTopic version 1.2.0 Index]