| cocluster_density | R Documentation | 
This function creates a density plot that shows, for all pairs of observations that originally clustered together, the distribution of the the fractions that those pairs clustered together across subsampled data.
cocluster_density(cocluster_df)
cocluster_df | 
 A data frame containing co-clustering data for a single
cluster solution. This object is generated by the   | 
Density plot (class "gg", "ggplot") of the distribution of co-clustering across pairs and subsamples of the data.
my_dl <- data_list(
    list(subc_v, "subcortical_volume", "neuroimaging", "continuous"),
    list(income, "household_income", "demographics", "continuous"),
    list(pubertal, "pubertal_status", "demographics", "continuous"),
    uid = "unique_id"
)
sc <- snf_config(my_dl, n_solutions = 5, max_k = 40)
sol_df <- batch_snf(my_dl, sc)
my_dl_subsamples <- subsample_dl(
    my_dl,
    n_subsamples = 20,
    subsample_fraction = 0.85
)
batch_subsample_results <- batch_snf_subsamples(
    my_dl_subsamples,
    sc
)
coclustering_results <- calculate_coclustering(
    batch_subsample_results,
    sol_df,
    verbose = TRUE
)
cocluster_dfs <- coclustering_results$"cocluster_dfs"
cocluster_density(cocluster_dfs[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.