├── .github ├── .gitignore └── workflows │ ├── R-CMD-check.yaml │ └── check-release.yaml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── DESCRIPTION ├── LICENSE ├── NAMESPACE ├── R ├── SCimplify.R ├── SCimplify_for_velocity.R ├── build_knn_graph.R ├── conversion.R ├── data.R ├── singlecell_mixing.R ├── supercell_2_Seurat.R ├── supercell_2_sce.R ├── supercell_FindAllMarkers.R ├── supercell_GE.R ├── supercell_GeneGenePlot.R ├── supercell_UMAP.R ├── supercell_VlnPlot.R ├── supercell_assign.R ├── supercell_cluster.R ├── supercell_estimate_velocity.R ├── supercell_merge.R ├── supercell_plot.R ├── supercell_plot_GE.R ├── supercell_prcomp.R ├── supercell_purity.R ├── supercell_rescale.R ├── supercell_silhouette.R └── supercell_tSNE.R ├── README.Rmd ├── README.md ├── SuperCell.Rproj ├── data ├── cell_lines.rda └── pancreas.rda ├── inst └── doc │ ├── a_SuperCell.R │ ├── a_SuperCell.Rmd │ ├── a_SuperCell.html │ ├── b_Combined_vs_independent_sample_processing.R │ ├── b_Combined_vs_independent_sample_processing.Rmd │ ├── b_Combined_vs_independent_sample_processing.html │ ├── c_RNAvelocity_for_SuperCell.R │ ├── c_RNAvelocity_for_SuperCell.Rmd │ └── c_RNAvelocity_for_SuperCell.html ├── man ├── .Rapp.history ├── SCimplify.Rd ├── SCimplify_for_velocity.Rd ├── SCimplify_from_embedding.Rd ├── anndata_2_supercell.Rd ├── build_knn_graph.Rd ├── build_knn_graph_nn2.Rd ├── cell_lines.Rd ├── knn_graph_from_dist.Rd ├── metacell2_anndata_2_supercell.Rd ├── pancreas.Rd ├── sc_mixing_score.Rd ├── supercell_2_Seurat.Rd ├── supercell_2_sce.Rd ├── supercell_DimPlot.Rd ├── supercell_FindAllMarkers.Rd ├── supercell_FindMarkers.Rd ├── supercell_GE.Rd ├── supercell_GE_idx.Rd ├── supercell_GeneGenePlot.Rd ├── supercell_GeneGenePlot_single.Rd ├── supercell_UMAP.Rd ├── supercell_VlnPlot.Rd ├── supercell_VlnPlot_single.Rd ├── supercell_assign.Rd ├── supercell_cluster.Rd ├── supercell_estimate_velocity.Rd ├── supercell_merge.Rd ├── supercell_mergeGE.Rd ├── supercell_plot.Rd ├── supercell_plot_GE.Rd ├── supercell_plot_UMAP.Rd ├── supercell_plot_tSNE.Rd ├── supercell_prcomp.Rd ├── supercell_purity.Rd ├── supercell_rescale.Rd ├── supercell_silhouette.Rd └── supercell_tSNE.Rd ├── plots └── Fig1A.png ├── tests ├── output │ ├── SC_GE_first_10_cell_line_gamma_20.Rda │ ├── SC_PCA_cell_line_gamma_20.Rda │ ├── SC_cell_line_gamma_20.Rda │ └── SC_markers_cell_line_gamma_20.Rda ├── testthat.R └── testthat │ └── test_data_load_and_manipulations.R └── vignettes ├── .gitignore ├── a_SuperCell.Rmd ├── b_Combined_vs_independent_sample_processing.Rmd └── c_RNAvelocity_for_SuperCell.Rmd /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/.github/workflows/R-CMD-check.yaml -------------------------------------------------------------------------------- /.github/workflows/check-release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/.github/workflows/check-release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/LICENSE -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/NAMESPACE -------------------------------------------------------------------------------- /R/SCimplify.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/SCimplify.R -------------------------------------------------------------------------------- /R/SCimplify_for_velocity.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/SCimplify_for_velocity.R -------------------------------------------------------------------------------- /R/build_knn_graph.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/build_knn_graph.R -------------------------------------------------------------------------------- /R/conversion.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/conversion.R -------------------------------------------------------------------------------- /R/data.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/data.R -------------------------------------------------------------------------------- /R/singlecell_mixing.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/singlecell_mixing.R -------------------------------------------------------------------------------- /R/supercell_2_Seurat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_2_Seurat.R -------------------------------------------------------------------------------- /R/supercell_2_sce.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_2_sce.R -------------------------------------------------------------------------------- /R/supercell_FindAllMarkers.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_FindAllMarkers.R -------------------------------------------------------------------------------- /R/supercell_GE.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_GE.R -------------------------------------------------------------------------------- /R/supercell_GeneGenePlot.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_GeneGenePlot.R -------------------------------------------------------------------------------- /R/supercell_UMAP.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_UMAP.R -------------------------------------------------------------------------------- /R/supercell_VlnPlot.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_VlnPlot.R -------------------------------------------------------------------------------- /R/supercell_assign.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_assign.R -------------------------------------------------------------------------------- /R/supercell_cluster.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_cluster.R -------------------------------------------------------------------------------- /R/supercell_estimate_velocity.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_estimate_velocity.R -------------------------------------------------------------------------------- /R/supercell_merge.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_merge.R -------------------------------------------------------------------------------- /R/supercell_plot.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_plot.R -------------------------------------------------------------------------------- /R/supercell_plot_GE.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_plot_GE.R -------------------------------------------------------------------------------- /R/supercell_prcomp.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_prcomp.R -------------------------------------------------------------------------------- /R/supercell_purity.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_purity.R -------------------------------------------------------------------------------- /R/supercell_rescale.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_rescale.R -------------------------------------------------------------------------------- /R/supercell_silhouette.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_silhouette.R -------------------------------------------------------------------------------- /R/supercell_tSNE.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/R/supercell_tSNE.R -------------------------------------------------------------------------------- /README.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/README.Rmd -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/README.md -------------------------------------------------------------------------------- /SuperCell.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/SuperCell.Rproj -------------------------------------------------------------------------------- /data/cell_lines.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/data/cell_lines.rda -------------------------------------------------------------------------------- /data/pancreas.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/data/pancreas.rda -------------------------------------------------------------------------------- /inst/doc/a_SuperCell.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/a_SuperCell.R -------------------------------------------------------------------------------- /inst/doc/a_SuperCell.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/a_SuperCell.Rmd -------------------------------------------------------------------------------- /inst/doc/a_SuperCell.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/a_SuperCell.html -------------------------------------------------------------------------------- /inst/doc/b_Combined_vs_independent_sample_processing.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/b_Combined_vs_independent_sample_processing.R -------------------------------------------------------------------------------- /inst/doc/b_Combined_vs_independent_sample_processing.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/b_Combined_vs_independent_sample_processing.Rmd -------------------------------------------------------------------------------- /inst/doc/b_Combined_vs_independent_sample_processing.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/b_Combined_vs_independent_sample_processing.html -------------------------------------------------------------------------------- /inst/doc/c_RNAvelocity_for_SuperCell.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/c_RNAvelocity_for_SuperCell.R -------------------------------------------------------------------------------- /inst/doc/c_RNAvelocity_for_SuperCell.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/c_RNAvelocity_for_SuperCell.Rmd -------------------------------------------------------------------------------- /inst/doc/c_RNAvelocity_for_SuperCell.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/inst/doc/c_RNAvelocity_for_SuperCell.html -------------------------------------------------------------------------------- /man/.Rapp.history: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /man/SCimplify.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/SCimplify.Rd -------------------------------------------------------------------------------- /man/SCimplify_for_velocity.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/SCimplify_for_velocity.Rd -------------------------------------------------------------------------------- /man/SCimplify_from_embedding.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/SCimplify_from_embedding.Rd -------------------------------------------------------------------------------- /man/anndata_2_supercell.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/anndata_2_supercell.Rd -------------------------------------------------------------------------------- /man/build_knn_graph.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/build_knn_graph.Rd -------------------------------------------------------------------------------- /man/build_knn_graph_nn2.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/build_knn_graph_nn2.Rd -------------------------------------------------------------------------------- /man/cell_lines.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/cell_lines.Rd -------------------------------------------------------------------------------- /man/knn_graph_from_dist.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/knn_graph_from_dist.Rd -------------------------------------------------------------------------------- /man/metacell2_anndata_2_supercell.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/metacell2_anndata_2_supercell.Rd -------------------------------------------------------------------------------- /man/pancreas.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/pancreas.Rd -------------------------------------------------------------------------------- /man/sc_mixing_score.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/sc_mixing_score.Rd -------------------------------------------------------------------------------- /man/supercell_2_Seurat.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_2_Seurat.Rd -------------------------------------------------------------------------------- /man/supercell_2_sce.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_2_sce.Rd -------------------------------------------------------------------------------- /man/supercell_DimPlot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_DimPlot.Rd -------------------------------------------------------------------------------- /man/supercell_FindAllMarkers.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_FindAllMarkers.Rd -------------------------------------------------------------------------------- /man/supercell_FindMarkers.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_FindMarkers.Rd -------------------------------------------------------------------------------- /man/supercell_GE.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_GE.Rd -------------------------------------------------------------------------------- /man/supercell_GE_idx.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_GE_idx.Rd -------------------------------------------------------------------------------- /man/supercell_GeneGenePlot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_GeneGenePlot.Rd -------------------------------------------------------------------------------- /man/supercell_GeneGenePlot_single.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_GeneGenePlot_single.Rd -------------------------------------------------------------------------------- /man/supercell_UMAP.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_UMAP.Rd -------------------------------------------------------------------------------- /man/supercell_VlnPlot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_VlnPlot.Rd -------------------------------------------------------------------------------- /man/supercell_VlnPlot_single.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_VlnPlot_single.Rd -------------------------------------------------------------------------------- /man/supercell_assign.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_assign.Rd -------------------------------------------------------------------------------- /man/supercell_cluster.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_cluster.Rd -------------------------------------------------------------------------------- /man/supercell_estimate_velocity.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_estimate_velocity.Rd -------------------------------------------------------------------------------- /man/supercell_merge.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_merge.Rd -------------------------------------------------------------------------------- /man/supercell_mergeGE.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_mergeGE.Rd -------------------------------------------------------------------------------- /man/supercell_plot.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_plot.Rd -------------------------------------------------------------------------------- /man/supercell_plot_GE.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_plot_GE.Rd -------------------------------------------------------------------------------- /man/supercell_plot_UMAP.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_plot_UMAP.Rd -------------------------------------------------------------------------------- /man/supercell_plot_tSNE.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_plot_tSNE.Rd -------------------------------------------------------------------------------- /man/supercell_prcomp.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_prcomp.Rd -------------------------------------------------------------------------------- /man/supercell_purity.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_purity.Rd -------------------------------------------------------------------------------- /man/supercell_rescale.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_rescale.Rd -------------------------------------------------------------------------------- /man/supercell_silhouette.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_silhouette.Rd -------------------------------------------------------------------------------- /man/supercell_tSNE.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/man/supercell_tSNE.Rd -------------------------------------------------------------------------------- /plots/Fig1A.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/plots/Fig1A.png -------------------------------------------------------------------------------- /tests/output/SC_GE_first_10_cell_line_gamma_20.Rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/output/SC_GE_first_10_cell_line_gamma_20.Rda -------------------------------------------------------------------------------- /tests/output/SC_PCA_cell_line_gamma_20.Rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/output/SC_PCA_cell_line_gamma_20.Rda -------------------------------------------------------------------------------- /tests/output/SC_cell_line_gamma_20.Rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/output/SC_cell_line_gamma_20.Rda -------------------------------------------------------------------------------- /tests/output/SC_markers_cell_line_gamma_20.Rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/output/SC_markers_cell_line_gamma_20.Rda -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/test_data_load_and_manipulations.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/tests/testthat/test_data_load_and_manipulations.R -------------------------------------------------------------------------------- /vignettes/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.R 3 | -------------------------------------------------------------------------------- /vignettes/a_SuperCell.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/vignettes/a_SuperCell.Rmd -------------------------------------------------------------------------------- /vignettes/b_Combined_vs_independent_sample_processing.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/vignettes/b_Combined_vs_independent_sample_processing.Rmd -------------------------------------------------------------------------------- /vignettes/c_RNAvelocity_for_SuperCell.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GfellerLab/SuperCell/HEAD/vignettes/c_RNAvelocity_for_SuperCell.Rmd --------------------------------------------------------------------------------