R/spatial_clusters.R
identifyTMAcores.Rd
Split cluster annotations based on a spatial network
identifyTMAcores(
gobject,
spat_unit = NULL,
feat_type = NULL,
spatial_network_name = "Delaunay_network",
core_id_name = "core_id",
id_fmt = "%d",
include_all_ids = TRUE,
missing_id_name = "not_connected",
min_nodes = 5,
join_split_cores = TRUE,
join_tolerance = 1.2,
return_gobject = TRUE
)
giotto object
spatial unit (e.g. "cell")
feature type (e.g. "rna", "dna", "protein")
character. Name of spatial network to use
metadata column name for the core information
character. [sprintf] formatting to use for core ids
logical. Include all ids, including vertex ids not found in the spatial network
character. Name for nodes that are not connected to a core.
numeric. Minimal number of nodes to not be considered an unconnected group.
logical. Attempt to repair core IDs when a core is split down the middle and detected as two different cores.
numeric. Max ratio allowed relative to previous max core convex hull area when determining if a pair of cores should be joined.
logical. Return giotto object
cluster annotations