kernel_pca: kernel_pca: A kernel pca function

Description Usage Arguments Value Examples

View source: R/plotting_functions.R

Description

kernel_pca: A kernel pca function

Usage

1
2
kernel_pca(datam, labels = FALSE, axistextsize = 18,
  legendtextsize = 18, dotsize = 3, similarity = TRUE)

Arguments

datam

Dataframe or matrix: a data frame with samples as columns, rows as features, or a kernel matrix

labels

Factor: to label the plot with colours

axistextsize

Numerical value: axis text size

legendtextsize

Numerical value: legend text size

dotsize

Numerical value: dot size

similarity

Logical flag: whether the input is a similarity matrix or not

Value

A kernel PCA plot

Examples

1
ex_kernel_pca <- kernel_pca(blobs[,1:50], similarity=FALSE)

Spectrum documentation built on Feb. 10, 2020, 9:07 a.m.