spateo.plotting.static.lisa¶
Functions¶
|
Scatterplot of the gene expression and its spatial lag. Categorization into the four regions (HH, HL, LH, LL) is |
|
Create a plot with four panels. The first one is for the raw lisa (Local Indicators of Spatial Association ) |
Module Contents¶
- spateo.plotting.static.lisa.lisa_quantiles(df: geopandas.GeoDataFrame)[source]¶
Scatterplot of the gene expression and its spatial lag. Categorization into the four regions (HH, HL, LH, LL) is also annotated. This function should be used in conjunction with st.tl.lisa_geo_df.
- Parameters:
- df
The GeoDataFrame returned from running st.tl.lisa_geo_df(adata, gene).
- Returns:
Nothing but plot the scatterplot.
- spateo.plotting.static.lisa.lisa(df: geopandas.GeoDataFrame)[source]¶
Create a plot with four panels. The first one is for the raw lisa (Local Indicators of Spatial Association ) score. The second one (the right one in the first row) is for the four quantiles. The third one is for the significance while the fourth one the five categories (not significant, hotspot, doughnut, coldspot and diamond.
- Parameters:
- df
The GeoDataFrame returned from running st.tl.lisa_geo_df(adata, gene).
- Returns:
Nothing but plot the four panels .