Skip to contents

Converts the named list output of cluster_patient_categorization() into a flat data frame with one row per cluster-patient pair.

Usage

flatten_cluster_patient_categorization(categorization)

Arguments

categorization

A named list as returned by cluster_patient_categorization().

Value

A data frame with columns cluster, patient_id, and category.