Filter Interaction Changed Feature scores for spots.
ICF (interaction changed feature) score object
minimum number of source cell type
minimum expression residual level for source cell type
minimum number of interacting neighbor cell type
minimum expression residual level for interacting neighbor cell type
minimum adjusted p-value
minimum absolute pcc difference difference
minimum z-score change
calculate z-scores over cell types or features
differential expression directions to keep
icfObject that contains the filtered differential feature scores
g <- GiottoData::loadGiottoMini("visium")
#> 1. read Giotto object
#> 2. read Giotto feature information
#> 3. read Giotto spatial information
#> 3.1 read Giotto spatial shape information
#> 3.2 read Giotto spatial centroid information
#> 3.3 read Giotto spatial overlap information
#> 4. read Giotto image information
#> python already initialized in this session
#> active environment : '/usr/bin/python3'
#> python version : 3.10
#> checking default envname 'giotto_env'
#> a system default python environment was found
#> Using python path:
#> "/usr/bin/python3"
icfObject <- findInteractionChangedFeats(g, cluster_column = "leiden_clus")
#> Error: package 'future' is not yet installed
#>
#> To install:
#> install.packages(c("future"))
filterICFSpot(icfObject = icfObject)
#> Error: object 'icfObject' not found