Public step function for extracting regulatory topics, pathway summaries, topic-link tables, and review outputs from trained Module 3 topic models.
Arguments
- k
Integer K selected for extraction.
- model_dir
Directory containing trained topic model outputs.
- output_dir
Directory to write extracted topic outputs.
- flatten_single_output
Whether to write a single selected model directly under `output_dir`. Defaults to `TRUE` for the public step API.
- ...
Additional arguments passed to the internal extraction engine, such as `backend`, `doc_mode`, `weight_label`, and `topic_report_args`.