findICF
¶
findICF
Description¶
- Identifies cell-to-cell Interaction Changed Features (ICF),
i.e. features that are differentially expressed due to proximity to other cell types.#’
Usage¶
findICF(
gobject,
feat_type = NULL,
spat_unit = NULL,
expression_values = "normalized",
selected_feats = NULL,
cluster_column,
spatial_network_name = "Delaunay_network",
minimum_unique_cells = 1,
minimum_unique_int_cells = 1,
diff_test = c("permutation", "limma", "t.test", "wilcox"),
mean_method = c("arithmic", "geometric"),
offset = 0.1,
adjust_method = c("bonferroni", "BH", "holm", "hochberg", "hommel", "BY", "fdr",
"none"),
nr_permutations = 100,
exclude_selected_cells_from_test = T,
do_parallel = TRUE,
set_seed = TRUE,
seed_number = 1234
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
feature type |
|
spatial unit |
|
expression values to use |
|
subset of selected features (optional) |
|
name of column to use for cell types |
|
name of spatial network to use |
|
minimum number of target cells required |
|
minimum number of interacting cells required |
|
which differential expression test |
|
method to use to calculate the mean |
|
offset value to use when calculating log2 ratio |
|
which method to adjust p-values |
|
number of permutations if diff_test = permutation |
|
exclude interacting cells other cells |
|
run calculations in parallel with mclapply |
|
set a seed for reproducibility |
|
seed number |
Details¶
- Function to calculate if genes are differentially expressed in cell types
when they interact (approximated by physical proximity) with other cell types. The results data.table in the cpgObject contains - at least - the following columns:
features: All or selected list of tested features
sel: average feature expression in the interacting cells from the target cell type
other: average feature expression in the NOT-interacting cells from the target cell type
log2fc: log2 fold-change between sel and other
diff: spatial expression difference between sel and other
p.value: associated p-value
p.adj: adjusted p-value
cell_type: target cell type
int_cell_type: interacting cell type
nr_select: number of cells for selected target cell type
int_nr_select: number of cells for interacting cell type
nr_other: number of other cells of selected target cell type
int_nr_other: number of other cells for interacting cell type
unif_int: cell-cell interaction
Value¶
cpgObject that contains the Interaction Changed differential gene scores
Seealso¶
``findInteractionChangedFeats` <#findinteractionchangedfeats>`_