Description Usage Arguments Value Examples
View source: R/plotting_functions.R
kernel_pca: A kernel pca function
1 2 | kernel_pca(datam, labels = FALSE, axistextsize = 18,
legendtextsize = 18, dotsize = 3, similarity = TRUE)
|
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 |
A kernel PCA plot
1 | ex_kernel_pca <- kernel_pca(blobs[,1:50], similarity=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.