cluster_membership: Cluster Baskets Based on the Posterior Exchangeabilities

Description Usage Arguments Value See Also

View source: R/util.r

Description

This is the default function used to cluster cohorts in the basket, mem_mcmc, and mem_exact functions. The approach creates a graph where each vertex is a cohort and the weight between two cohorts is determined by their posterior exchangeability probability. The graph is then clustered using igraph's louvain function, which determines the number of clusters and the cluster memberships, and has been shown to perform well with real clinical data.

Usage

1

Arguments

m

the adjacency matrix.

Value

A factor variable with cluster memberships for each cohort in the study.

See Also

basket mem_mcmc mem_exact


basket documentation built on Oct. 17, 2021, 1:07 a.m.