plotK: plot cluster

Description Usage Arguments Examples

View source: R/utilities.R

Description

plot cluster

Usage

1
plotK(scaledM, k, idx)

Arguments

scaledM

matrix with data

k

cluster assignment (same as nrow(scaledM))

idx

index of cluster

Examples

1
2
3
bb <- matrix(rnorm(100), ncol=5, nrow = 20)
k <- sample(1:3,20, replace = TRUE)
plotK(bb, k, idx = 3)

protViz/fgczgseaora documentation built on Dec. 14, 2021, 9:22 p.m.