dimred_encircle_groups: Encircle groups using KDE contours

View source: R/plot_dimred_encircle.R

dimred_encircle_groupsR Documentation

Encircle groups using KDE contours

Description

For each groupings, calculate kernel density estimates and extract contour lines at a given level to make flexible encircling of points.

Usage

dimred_encircle_groups(data, dim1 = 1, dim2 = 2, ...)

Arguments

data

matrix or data.frame containing dimensions and grouping parameters. All columns that are not given as dim1 or dim2 (see below), will be used in grouping the resulting KDE contour.

dim1

column position or column name of the first dimension in 'data'

dim2

column position or column name of the second dimension in 'data'

...

Passed on to scutility::dimred_encircle() - CURRENTLY NOT IMPLEMENTED

Value

data.frame of contour points and grouping variables


Terkild/scutility documentation built on Jan. 16, 2025, 5:28 p.m.