recluster: Recluster cells based on fcoex module composition

Description Usage Arguments Value Examples

Description

Recluster cells based on fcoex module composition

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
recluster(
  fc,
  hclust_method = "ward.D2",
  dist_method = "manhattan",
  k = 2,
  verbose = TRUE
)

## S4 method for signature 'fcoex'
recluster(
  fc,
  hclust_method = "ward.D2",
  dist_method = "manhattan",
  k = 2,
  verbose = TRUE
)

Arguments

fc

Object of class fcoex

hclust_method

method for the hclust function. Defaults to "ward.D2".

dist_method

method for the dist function. Defaults to "manhattan".

k

desired number of clustes. Defaults to 2.

verbose

Adds verbosity, defaults to TRUE.

Value

Object of class data.frame with new clusters

Examples

1
2
data("fc")
fc <- recluster(fc)

csbl-usp/fcoex documentation built on Sept. 15, 2021, 7:42 a.m.