Skip to contents

Save cell expression - distance patterns for simulation

Usage

ExprDistanceTable(
  gobject,
  in_hvg = F,
  output_file = file.path(getwd(), "est_CCI_dist_expr.csv"),
  region_specific = F,
  abs_log2fc_ICG = 0.25,
  p_adj = 0.05,
  spatial_network_name = "distance_based_network",
  seed = NULL
)

Arguments

gobject

Giotto object, output of preprocessGiotto.

in_hvg

Perform the analysis within the highly variable genes.

output_file

Provide a path and file name to save the CCI results for use in sCCIgen.

region_specific

Perform the analysis separately for each region.

abs_log2fc_ICG

Effect size threshold for saving.

p_adj

Adjusted p-value threshold (Default = 0.05) for saving.

spatial_network_name

Networks to choose. Possible values include "Delaunay_network", "distance_based_network", "knn_network".

seed

Seed.