Description Usage Arguments Value See Also
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.
1 |
m |
the adjacency matrix. |
A factor variable with cluster memberships for each cohort in the study.
basket mem_mcmc mem_exact
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.