immunaut | R Documentation |
This function performs clustering and dimensionality reduction analysis on a dataset using user-defined settings. It handles various preprocessing steps, dimensionality reduction via t-SNE, multiple clustering methods, and generates associated plots based on user-defined or default settings.
immunaut(dataset, settings = list())
dataset |
A data frame representing the dataset on which the analysis will be performed. The dataset must contain numeric columns for dimensionality reduction and clustering. |
settings |
A named list containing settings for the analysis. If NULL, defaults will be used. The settings list may contain:
|
A list containing the following:
tsne_calc
: The t-SNE results object.
tsne_clust
: The clustering results.
dataset
: A list containing the original dataset, the preprocessed dataset, and a dataset with machine learning-ready data.
clusters
: The final cluster assignments.
settings
: The list of settings used for the analysis.
data <- matrix(runif(2000), ncol=20)
settings <- list(clusterType = "Louvain",
resolution_increments = c(0.05, 0.1),
min_modularities = c(0.3, 0.5))
result <- immunaut(data.frame(data), settings)
print(result$clusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.