smoothGiottoPolygons#

Date

2022-10-06

https://github.com/drieslab/Giotto/tree/suite/R/giotto_structures.R#L833

Description#

Smooths Giotto polygon object

Usage#

smoothGiottoPolygons(
  gpolygon,
  vertices = 20,
  k = 3,
  set_neg_to_zero = TRUE,
  ...
)

Arguments#

Argument

Description

gpolygon

giotto polygon object

vertices

number of vertices

k

k

set_neg_to_zero

set negative values to zero (default: TRUE)

...

additional params to pass to spline

Value#

Smoothed Giotto polygon object with reduced vertices

Seealso#

`spline <#spline>`__