print.verCHI: print.verCHI

View source: R/enterotype.R

print.verCHIR Documentation

print.verCHI

Description

print the optialmal numer of cluster, max CHI, and Silhouette and plot the Calinski-Harabasz (CH) Index and silhouette coefficients simultaneously.

Usage

## S3 method for class 'verCHI'
print(x, ..., verbose = TRUE, plotting = TRUE, cluster)

Arguments

x

estimate_k output

...

print

verbose

logical

plotting

logical

cluster

cluster result

Value

no return

Examples

data(iris)
b <- bSet(b = data.table::as.data.table(t(iris[1:6, 1:4])),
          Features = letters[1:4],
          Samples = LETTERS[1:6])
ret <- estimate_k(b =b, 2:3)
ret

gongcongcong/mbOmic documentation built on July 1, 2023, 1:47 p.m.