Filter Interaction Changed Feature scores.
ICF (interaction changed feature) score object
minimum number of source cell type
minimum expression level for source cell type
minimum number of interacting neighbor cell type
minimum expression level for interacting neighbor cell type
minimum adjusted p-value
minimum absolute spatial expression difference
minimum log2 fold-change
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
#> cell_spatInfo_spatVector.shp
#> cell
#>
#> 3.2 read Giotto spatial centroid information
#> cell
#>
#> 3.3 read Giotto spatial overlap information
#> No overlaps were found, overlap loading will be
#> skipped
#>
#> 4. read Giotto image information
#> a giotto python environment was found
#> Using python path:
#> "/Users/yuanlab/Library/r-miniconda/envs/giotto_env/bin/pythonw"
g_icf <- findInteractionChangedFeats(g, cluster_column = "leiden_clus")
filterICF(g_icf)
#> An object of class icfObject
#> -dimensions : 84, 21 (icfs, attributes)
#> <giotto info>
#> -values : normalized
#> -cluster : leiden_clus
#> -spatial network : Delaunay_network
#> <test info>
#> -test : permutation
#> -p.adj : bonferroni
#> -min cells : 1
#> -min interacting cells : 1
#> -exclude selected cells : TRUE
#> -perm : 1000