Skip to contents

Smooth UCell scores by kNN (V4/V5 compatible)

Usage

.SmoothKNN(
  obj,
  signature.names = NULL,
  reduction = "pca",
  k = 10,
  decay = 0.1,
  up.only = FALSE,
  suffix = NULL
)

Arguments

obj

Seurat object

signature.names

Signatures to smooth

reduction

Reduction to use

k

Number of neighbors

decay

Decay parameter

up.only

Only allow increases

suffix

Suffix for smoothed columns

Value

Seurat object with smoothed scores