.. _examples_and_tutorials: ======================= Examples and Tutorials ======================= Here we provided an introduction to some of the base functionality. Full descriptions of the functions, classes, and methods can be found in the :ref:`api` section of the documentation. .. note:: - '*': Beside the names indicates tutorials that have not been started - '+': Indicates tutorials that are in progress Connect to *AstroPath* & Load Sample Data ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. grid:: 1 3 3 3 :gutter: 3 .. grid-item-card:: :img-top: connecting_to_astropath/imgs/astrodb_connection.png :link: connecting_to_astropath/connecting_with_astrodb :link-type: doc :text-align: center Connecting to *AstroPath* with :class:`.AstroDB` .. grid-item-card:: :img-top: connecting_to_astropath/imgs/loading_astropath_sample_data.png :link: connecting_to_astropath/loading_astropath_sample_data :link-type: doc :text-align: center Loading ``AstroPath`` Sample Data .. toctree:: :hidden: :caption: Connect to *AstroPath* & Load Sample Data connecting_to_astropath/connecting_with_astrodb connecting_to_astropath/loading_astropath_sample_data Basic Query Tutorials ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. grid:: 1 2 2 3 :gutter: 3 .. grid-item-card:: :img-top: basic_raw_queries/imgs/raw_sql_queries.png :link: basic_raw_queries/query_with_raw_sql :link-type: doc :text-align: center Query the database with raw ``SQL`` .. grid-item-card:: :img-top: basic_orm_queries/imgs/orm_sql_queries.png :link: basic_orm_queries/query_with_sqlalchemy :link-type: doc :text-align: center Query the database with ``SQLAlchemy`` .. toctree:: :hidden: :caption: Basic Query Tutorials basic_raw_queries/query_with_raw_sql basic_orm_queries/query_with_sqlalchemy basic_raw_queries/query_region_densities_with_raw_sql Metrics ^^^^^^^^^^^^^^^^^^ .. list-table:: * - :ref:`densities_example` + * - :ref:`expression_histograms_example` + * - :ref:`tumor_distance_example` + * - :ref:`xy_expressions_example` + .. toctree:: :hidden: :caption: Metrics metrics/densities metrics/expression_histograms metrics/tumor_distance metrics/xy_expressions Geostatistics ^^^^^^^^^^^^^^^^^^ .. list-table:: * - :ref:`g_function_example` * * - :ref:`k_function_example` * * - :ref:`kriging_example` * * - :ref:`variograms_example` * .. toctree:: :hidden: :caption: Geostatistics geostatistics/g_function geostatistics/k_function geostatistics/kriging geostatistics/variograms Spatial Clustering ^^^^^^^^^^^^^^^^^^ .. list-table:: * - :ref:`spatial_heatmaps_example` + * - :ref:`quantized_grid_example` + * - :ref:`morans_i_example` + * - :ref:`scan_statistics_example` * .. toctree:: :hidden: :caption: Spatial Clustering spatial_clustering/spatial_heatmaps spatial_clustering/quantized_grid spatial_clustering/morans_i spatial_clustering/scan_statistics Data Clustering Approaches ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. list-table:: * - :ref:`normal_umap_example` * * - :ref:`spatial_features_umap_example` * .. toctree:: :hidden: :caption: Data Clustering Approaches data_clustering_approaches/normal_umap data_clustering_approaches/spatial_features_umap MISC ^^^^^^^^^^^^^^^^ .. list-table:: :width: 50 * - :ref:`adding_tables_to_database_example` + * - :ref:`update_db_schema_example` + * - :ref:`create_cell_parquet_files_example` + .. toctree:: :hidden: :caption: MISC misc/adding_tables_to_database misc/update_db_schema misc/create_cell_parquet_files Experimental ^^^^^^^^^^^^^^^^ .. list-table:: :width: 50 * - :ref:`donut_analysis_example` + .. toctree:: :hidden: :caption: Experimental experimental/donut_analysis