Function Documentation¶
Giotto Handing Functions¶
Giotto Instructions¶
Create or change Giotto instructions (e.g. defaults, plotting, saving, etc.)
Function |
Description |
---|---|
Create Giotto Instructions |
|
Read Giotto Instructions |
|
Show Giotto Instructions |
|
Change Giotto Instructions |
|
Replace Giotto Instructions |
Giotto Object¶
Create and operate on Giotto Object
Function |
Description |
---|---|
Create a Giotto object |
|
Create a Visium Object |
|
Filter Giotto |
|
Subset Giotto |
|
Subset Giotto Locs |
Giotto Environment¶
Work with Giotto Python Environment
Function |
Description |
---|---|
installGiottoEnvironment() |
Install Giotto Environment |
removeGiottoEnvironment() |
Remove Giotto Environment |
checkGiottoEnvironment() |
Check Giotto Environment |
Giotto Helper Functions¶
Common functions to help working with Giotto objects
Function |
Description |
---|---|
Show Cell Metadata |
|
Show Gene Metadata |
|
Show Sequential Processing Steps |
|
Calculate Average Gene Expression |
|
Calculate the Average Metadata Values |
|
Combine Cell Metadata |
|
Create Average Metagene |
|
Find Spatial Neighbors |
Giotto Processing Functions¶
Functions that will (help to) add, update or change the Giotto object when processing spatial data.
Function |
Description |
---|---|
Show Gene Distributions |
|
Show Gene/Cell Loss |
|
Normalize And/Or Scale Expression Values |
|
Adjust Expression Values |
|
Convert Cluster Results Into User Provided Annotation |
|
Remove Cell Annotation |
|
Remove Gene Annotation |
|
Add Cell Metadata |
|
Add Gene Metadatat |
|
Add Gene Statistics |
|
Add Cell Statistics |
|
Add Gene and Cell Statistics |
|
Calculate Percent Counts |
|
Add Cell Metadata Information Column |
Import Raw Data¶
Functions to help to import raw spatial data.
Function |
Description |
---|---|
Get The Spatial Data |
|
Read The Expression Matrix |
|
get10Xmatrix() |
Get An Expression Matrix From 10X Structure |
get10Xmatrix_h5() |
Get An Expression Matrix From 10X h5 Path |
Stitch Field Coordinates Together |
|
Stitch Tile Coordinates Together |
Adding Images¶
Functions to work with images for a Giotto object.
Function |
Description |
---|---|
Estimate Background Color |
|
Change Background Color |
|
Create a Giotto Image |
|
Add a Giotto Image to Giotto Object |
|
Add Giotto Image to Spatial ggplot |
|
Print Attached Giotto Image |
|
Update Giotto Image Boundaries |
|
Get Giotto Image From Giotto Object |
|
Plot A Giotto Image From A Giotto Object |
Dimension Reduction¶
Functions to reduce dimensions.
Function |
Description |
---|---|
Compute Highly Variable Genes |
|
Identify PC’s |
|
Identify Significant PCs Via Screeplot |
|
Identify Significant PCs Via JackstrawPlot |
|
Run A PCA |
|
Run A UMAP |
|
Run a tSNE |
Clustering¶
Functions to cluster cells.
Function |
Description |
---|---|
Create NN Network |
|
Add Network Layout |
|
Calculate Gene Signature Enrichment Score |
|
Cluster Cells |
|
Cluster Cells Using NN-Network |
|
Cluster Cells Using NN-Network and Louvain Algorithm |
|
Cluster Cells Using K-Means |
|
Cluster Cells Using Hierarchical Clustering |
|
Sub-Cluster Cells |
|
Further Sub-Clustering of Cells Using NN-Network and Leiden Algorithm |
|
Further Sub-Clustering of Cells Using NN-Network and Louvain Algorithm |
|
Determine Pairwise Correlation Score |
|
Merge Clusters |
|
Split Dendrogram |
Marker Genes¶
Functions to detect cell type / cluster specific marker genes.
Function |
Description |
---|---|
findMarkers() |
Find Marker Genes |
Find Marker Genes At Once |
|
Find Gini Markers |
|
Find Marker Genes Using Gini in One vs. All Manner |
|
Identify Marker Genes Based on Scran |
|
Identify Marker Genes in a One vs. All Manner |
|
Identify Marker Genes Using MAST |
|
Identify Marker Genes Using MAST in One vs. All Manner |
Auxiliary Visualizations¶
Functions for different visualization options to explore gene, cell or cluster characteristics.
Function |
Description |
---|---|
Create Cluster Heatmap |
|
Create Cluster Dendrogram |
|
Plot Heatmap |
|
Plot Heatmap for Metadata |
|
Plot Heatmap for Cell Metdata |
|
Create Violin Plot |
Spatial¶
Enrichment & Deconvolution¶
Functions for algorithms to compute spatial enrichment of gene signatures or single-cell RNA-seq annotation.
Function |
Description |
---|---|
Convert Gene Signature List To Binary Matrix |
|
Convert Single-Cell Matrix to Cluster |
|
Calculate Gene Signature Enrichment Score With RANK |
|
Calculate Gene Signature Enrichment Scores |
|
Calculate Position Gene Signature Enrichment With PAGE |
|
Calculate Gene Signature Enrichment With PAGE |
|
Calculate Gene Signature Enrichment Using RANK |
|
Calculate Gene Signature Enrichment Score With RANK |
|
Calculate Gene Signature Enrichment Score With Hypergeometric Test |
|
Calculate Gene Signature Enrichment Score With Hypergeometric Test |
|
Perform Deconvolution |
|
Perform DWLS Deconvolution |
Spatial Network Or Grid¶
Function to (help) create a spatial network or grid.
Function |
Description |
---|---|
Distance Distribution for Spatial k-Neighbor |
|
Distance Distribution for Spatial k-Neighbor |
|
Histogram of Distance Distribution for Spatial k-Neighbors |
|
Create Spatial Delaunay |
|
Plot Network Statistics for Delaunay Network |
|
Create Spatial KNN Network |
|
Create Spatial Network |
|
Annotate Spatial Network |
|
Annotate Spatial Grid |
|
Create Spatial Grid |
|
Print Available Spatial Networks |
|
Print Available Spatial Grids |
Spatial Genes¶
Functions to identify spatial genes.
Function |
Description |
---|---|
Create BinSpect |
|
Create binSpect For Single Network |
|
binSpect for Multiple KNN Networks |
|
Create binSpect For Single Network |
|
Compute Spatial Variables With SpatialDE Method |
|
Compute Spatial Variables With SpatialAEH Method |
|
Compute Spatially Variable Genes With Trendsceek |
|
Compute Spatially Variable Genes With SPARK |
Spatial Gene Simulation¶
Functions to simulate a gene expression pattern.
Function |
Description |
---|---|
Create Simulated Spatial Pattern |
|
Create Known Spatial Pattern for Selected Genes |
Spatial Co-Expression Patterns/Modules¶
Functions to identify spatial co-expression patterns.
Function |
Description |
---|---|
Cluster Genes Using Spatial Information |
|
Detect Genes Using Spatial Correlation |
|
Create Heatmap of Spatial Correlation |
|
Show Spatially Correlated Genes |
|
Rank Spatially Correlated Gene Clusters |
2D Visualization¶
In Expression Space¶
Visualization of expression space (e.g. UMAP) in 2D.
Function |
Description |
---|---|
Visualize Cells By Coordinates |
|
UMAP Wrapper |
|
tSNE Wrapper |
|
PCA Wrapper |
|
Visualize Gene Expression By Dimension Coordinates |
|
Visualize Cells Expression By Dimension Coordinates |
In Spatial Space¶
Visualization of expression space (e.g. UMAP) in 2D.
Function |
Description |
---|---|
Visualize Cells By Spatial Coordinates |
|
Visualize Cells and Genes By Spatial Coordinates |
|
Visualize Cells By Spatial Coordinates |
In Both Spatial And Expression Space¶
Visualization in both 2D spatial and expression space.
Function |
Description |
---|---|
Visualize Cells By Spatial and Dimensional Coordinates |
|
Visualize Genes By Spatial and Dimension Coordinates Via ggplot |
|
Visualize Cells By Spatial And Dimension Coordinates in 2D |
3D Visualization¶
Dimension Reduction¶
Visualization in both 2D spatial and expression space.
Function |
Description |
---|---|
Visualize Cells By Spatial Coordinates in 2D |
|
Visualize Cells By Spatial Coordinates in 3D |
|
Visualize Cells By Spatial Coordinates in 3D |
|
Visualize Cells By Dimension Reduction Coordinates in 3D |
|
Visualize Cells By 3D PCA Dimension Reduction |
|
Visualize Cells And Gene Expression By Dimension Reduction |
In Spatial Space¶
Visualization in both 2D spatial and expression space.
Function |
Description |
---|---|
Visualize Cells By Spatial and Dimensional Coordinates in 3D |
|
Visualize Cells By Spatial and Dimensional Coordinates Using Plotly |
In Silico Cross Sections¶
Functions to create an in silico 2D cross sections from 3D data.
Function |
Description |
---|---|
Create a Virtual Cross Section |
|
Visualize Cells And Gene Expression Virtually |
|
Visualize Cells In Virtual Cross Section |
|
Visualize Cells And Gene Expression Virtually (3D) |
|
Visualize Cells In A Virtual Cross Section (3D) |
|
Visualize Mesh-Grid Lines With Cells |
|
Visualize Cells And Gene Expression In A Virtual Cross Section |
Cell Neighborhood¶
Cell-Type/Cell-Type Enrichment¶
Functions to calculate and visualize cell-type/cell-type spatial enrichment or depletion.
Function |
Description |
---|---|
Calculate Cell-Cell Interaction Enrichment |
|
Create Barplot from Cell-Cell Proximity Score |
|
Create Heatmap from Cell-Cell Proximity Score |
|
Create Network from Cell-Cell Proximity Score |
|
Visualize Cell-Cell Interactions (2D) |
|
Visualize Cell-Cell Interactions (3D) |
Spatial Interaction Changed Genes (ICG)¶
Identify and visualize genes that change in a source cell type due to interaction with another neighboring cell type.
Function |
Description |
---|---|
Identify Cell-Cell Interaction Changed Genes (ICGs) |
|
Identify Cell-Cell Interaction Changed Genes (ICGs) |
|
Identify Cell-Cell Interaction Changed Genes (ICGs) |
|
Identify Cell-Cell Interaction Changed Genes (ICGs) |
|
Identify Cell-Cell Interaction Changed Genes (ICGs) |
|
Filter The Identified Cell-Cell Interaction Changed Genes (ICGs) |
|
Filter ICGs |
|
Filter ICGs |
|
Combine ICG Scores (Pairwise) |
|
Combine ICG Scores (Pairwise) |
|
Combine ICG Scores (Pairwise) |
|
Combine ICG Scores (Pairwise) |
|
Visualize ICGs via Barplot |
|
Visualize ICGs via Barplot |
|
Visualize Cell Proximity Gene Scores |
|
Visualize Cell Proximity Gene Scores |
|
Visualize Combined ICG Scores |
|
Visualize Combined ICG Scores |
|
Visualize Combined ICG Scores |
|
Visualize Combined ICG Scores |
Ligand-Receptor Cell Communication¶
Functions to calculate and visualize cell-type/cell-type spatial enrichment or depletion.
Function |
Description |
---|---|
Calculate Cell-Cell Communication Scores |
|
Calculate Spatial Cell-Cell Communication Scores |
|
Plot Ligand-Receptor Communication Scores |
|
Plot Comparison of Ligand-Receptor Rankings |
|
Plot Comparison of Ligand-Receptor Rankings |
Export From Giotto Analyzer To Viewer¶
Export selected annotations to a folder that can be used as input for Giotto Viewer.
Function |
Description |
---|---|
Compute Highly Variable Genes |
Interoperability¶
Convert other type of objects into a Giotto object.
Function |
Description |
---|---|
Compute Highly Variable Genes |