refine_cluster_10x: Refine clustering results for 10x ST or Visium data.

View source: R/SpatialPCA_utilties.R

refine_cluster_10xR Documentation

Refine clustering results for 10x ST or Visium data.

Description

This function refines spatial clustering of ST or Visium data.

Usage

refine_cluster_10x(clusterlabels, location, shape = "square")

Arguments

clusterlabels

The cluster label obtained (e.g. from louvain method or walktrap method).

location

A n by 2 location matrix of spots.

shape

Select shape='hexagon' for Visium data, 'square' for ST data.

Value

The refined cluster labels.


shangll123/SpatialPCA documentation built on April 17, 2024, 3:15 a.m.