Package: metasnf 2.3.1
metasnf: Meta Clustering with Similarity Network Fusion
Framework to facilitate patient subtyping with similarity network fusion and meta clustering. The similarity network fusion (SNF) algorithm was introduced by Wang et al. (2014) in <doi:10.1038/nmeth.2810>. SNF is a data integration approach that can transform high-dimensional and diverse data types into a single similarity network suitable for clustering with minimal loss of information from each initial data source. The meta clustering approach was introduced by Caruana et al. (2006) in <doi:10.1109/ICDM.2006.103>. Meta clustering involves generating a wide range of cluster solutions by adjusting clustering hyperparameters, then clustering the solutions themselves into a manageable number of qualitatively similar solutions, and finally characterizing representative solutions to find ones that are best for the user's specific context. This package provides a framework to easily transform multi-modal data into a wide range of similarity network fusion-derived cluster solutions as well as to visualize, characterize, and validate those solutions. Core package functionality includes easy customization of distance metrics, clustering algorithms, and SNF hyperparameters to generate diverse clustering solutions; calculation and plotting of associations between features, between patients, and between cluster solutions; and standard cluster validation approaches including resampled measures of cluster stability, standard metrics of cluster quality, and label propagation to evaluate generalizability in unseen data. Associated vignettes guide the user through using the package to identify patient subtypes while adhering to best practices for unsupervised learning.
Authors:
metasnf_2.3.1.tar.gz
metasnf_2.3.1.zip(r-4.7)metasnf_2.3.1.zip(r-4.6)metasnf_2.3.1.zip(r-4.5)
metasnf_2.3.1.tgz(r-4.6-any)metasnf_2.3.1.tgz(r-4.5-any)
metasnf_2.3.1.tar.gz(r-4.7-any)metasnf_2.3.1.tar.gz(r-4.6-any)
metasnf_2.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
metasnf/json (API)
| # Install 'metasnf' in R: |
| install.packages('metasnf', repos = c('https://branchlab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/branchlab/metasnf/issues
Pkgdown/docs site:https://branchlab.github.io
- abcd_anxiety - Mock ABCD anxiety data
- abcd_colour - Mock ABCD "colour" data
- abcd_cort_sa - Mock ABCD cortical surface area data
- abcd_cort_t - Mock ABCD cortical thickness data
- abcd_depress - Mock ABCD depression data
- abcd_h_income - Mock ABCD income data
- abcd_income - Mock ABCD income data
- abcd_pubertal - Mock ABCD pubertal status data
- abcd_subc_v - Mock ABCD subcortical volumes data
- age_df - Mock age data
- anxiety - Mock ABCD anxiety data
- cache_a_complete_example_ext_sol_df - Cached example extended solutions data frame
- cache_a_complete_example_lp_ext_sol_df - Cached example extended solutions data frame
- cache_a_complete_example_sol_df - Cached example solutions data frame
- cancer_diagnosis_df - Mock diagnosis data
- cort_sa - Mock ABCD cortical surface area data
- cort_t - Mock ABCD cortical thickness data
- depress - Mock ABCD depression data
- diagnosis_df - Mock diagnosis data
- expression_df - Modification of SNFtool mock data frame "Data1"
- fav_colour - Mock ABCD "colour" data
- gender_df - Mock gender data
- income - Mock ABCD income data
- methylation_df - Modification of SNFtool mock data frame "Data2"
- mock_ari_matrix - Mock example of an 'ari_matrix' metasnf object
- mock_clust_fns_list - Mock example of a 'clust_fns_list' metasnf object
- mock_data_list - Mock example of a 'data_list' metasnf object
- mock_dist_fns_list - Mock example of a 'dist_fns_list' metasnf object
- mock_ext_solutions_df - Mock example of a 'ext_solutions_df' metasnf object
- mock_mc_solutions_df - Mock example of a 'mc_solutions_df' metasnf object
- mock_rep_solutions_df - Mock example of a 'rep_solutions_df' metasnf object
- mock_settings_df - Mock example of a 'settings_df' metasnf object
- mock_snf_config - Mock example of a 'snf_config' metasnf object
- mock_solutions_df - Mock example of a 'solutions_df' metasnf object
- mock_t_solutions_df - Mock example of a 't_solutions_df' metasnf object
- mock_weights_matrix - Mock example of a 'weights_matrix' metasnf object
- pubertal - Mock ABCD pubertal status data
- subc_v - Mock ABCD subcortical volumes data
bioinformaticsclusteringmetaclusteringsnf
Last updated from:07a0e486d3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 188 | ||
| source / vignettes | OK | 223 | ||
| linux-release-x86_64 | OK | 173 | ||
| macos-release-arm64 | OK | 121 | ||
| macos-oldrel-arm64 | OK | 110 | ||
| windows-devel | OK | 161 | ||
| windows-release | OK | 139 | ||
| windows-oldrel | OK | 136 | ||
| wasm-release | OK | 130 |
Exports:add_settings_df_rowsadjusted_rand_index_heatmapalluvial_cluster_plotas_ari_matrixas_data_listas_settings_dfas_sim_mats_listas_snf_configas_weights_matrixassemble_dataassoc_pval_heatmapauto_plotbar_plotbatch_snfbatch_snf_subsamplescalc_ariscalc_assoc_pval_matrixcalc_nmiscalculate_coclusteringcalculate_db_indicescalculate_dunn_indicescalculate_silhouettescell_significance_fncheck_dataless_annotationscheck_hm_dependenciescheck_similarity_matricesclust_fns_listcocluster_densitycocluster_heatmapcollapse_dlcolour_scaleconfig_heatmapdata_listdist_fns_listdl_variable_summarydlapplydplyr_row_slice.ext_solutions_dfdplyr_row_slice.solutions_dfesm_manhattan_plotestimate_nclust_given_grapheuclidean_distanceextend_solutionsfeaturesgenerate_distance_metrics_listgenerate_settings_matrixget_cluster_dfget_cluster_solutionsget_clustersget_complete_uidsget_dl_uidsget_heatmap_orderget_matrix_orderget_pvalsget_representative_solutionsgower_distancehamming_distanceis_data_listjitter_plotlabel_meta_clusterslabel_propagatelinear_adjustlinear_model_pvalmc_manhattan_plotmerge_df_listmeta_cluster_heatmapn_featuresn_observationsnew_solutions_dford_reg_pvalplpval_heatmaprandom_removalrename_dlresamplesave_heatmapsettings_dfsew_euclidean_distanceshiny_annotatorsim_mats_listsimilarity_matrix_heatmapsiw_euclidean_distancesn_euclidean_distancesnf_configspectral_eigenspectral_eigen_classicspectral_eightspectral_fivespectral_fourspectral_ninespectral_rotspectral_rot_classicspectral_sevenspectral_sixspectral_tenspectral_threespectral_twosplit_parsersubsample_dlsubsample_pairwise_arissummarize_clust_fns_listsummarize_dflsummarize_dlsummary_featurestrain_test_assignuidsvalidate_solutions_dfvar_manhattan_plotweights_matrix
Dependencies:alluvialcliclustercpp11data.tabledigestdplyrExPositionfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrMASSmclustpillarpkgconfigprettyGraphsprogressrpurrrR6RColorBrewerrlangS7scalesSNFtoolstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Last update: 2026-06-17
Started: 2024-05-17
Last update: 2026-06-17
Started: 2024-05-14
Last update: 2025-04-10
Started: 2023-11-17
Last update: 2025-04-10
Started: 2024-02-02
Last update: 2025-04-10
Started: 2024-05-28
Last update: 2025-03-11
Started: 2023-11-14
Last update: 2025-03-05
Started: 2025-02-04
Last update: 2025-02-04
Started: 2023-10-23
Last update: 2025-02-04
Started: 2023-10-29
Last update: 2025-02-04
Started: 2023-11-22
Last update: 2025-02-04
Started: 2023-11-14
Last update: 2025-02-04
Started: 2023-10-23
Last update: 2025-02-04
Started: 2024-05-29
Last update: 2025-02-04
Started: 2023-11-14
Last update: 2025-02-04
Started: 2023-10-23
Last update: 2025-02-04
Started: 2024-05-26
Last update: 2025-02-04
Started: 2023-10-31
Last update: 2025-02-04
Started: 2023-12-06
Last update: 2025-02-04
Started: 2023-10-29
Last update: 2025-02-04
Started: 2023-11-29
Last update: 2025-02-04
Started: 2023-11-14
Last update: 2025-02-04
Started: 2023-11-14
