# Two-Way Latent Structure Clustering Model

## Documentation for package ‘twl’ version 1.0

- DESCRIPTION file.

## Help Pages

twl-package | Two-Way Latent Structure Clustering Model
clus_save | Output samples
cross_dat_analy | Compares clustering across datasets using metrics described in associated TWL manuscript
misaligned | Progressively misaligned cluster annotation
misaligned_mat | Progressively misaligned cluster data matrices
outpu_new | Output PSMs
pairwise_clus | Create posterior similarity matrix from outputted list of clustering samples
post_analy_clus | Assigns cluster labels by building dendrogram and thresholding at specified height
post_analy_cor | Creates and saves correlation plots based on posterior similarity matrices
twl | Two-Way Latent Structure Clustering Model
TWLsample | Main function to obtain posterior samples from a TWL model.