Last chance! 50% off unlimited learning
Sale ends in
kernel_pca: A kernel pca function
kernel_pca(datam, labels = FALSE, axistextsize = 18,
legendtextsize = 18, dotsize = 3, similarity = TRUE)
Dataframe or matrix: a data frame with samples as columns, rows as features, or a kernel matrix
Factor: to label the plot with colours
Numerical value: axis text size
Numerical value: legend text size
Numerical value: dot size
Logical flag: whether the input is a similarity matrix or not
A kernel PCA plot
# NOT RUN {
ex_kernel_pca <- kernel_pca(blobs[,1:50], similarity=FALSE)
# }
Run the code above in your browser using DataLab