S3 class for configuring dimension reduction parameters including method selection and algorithm-specific parameters.
new_dim_reduction_config(
method = "pca",
n_components = 2,
scale = TRUE,
center = TRUE,
pca_params = list(tol = sqrt(.Machine$double.eps), rank. = NULL),
umap_params = list(n_neighbors = 15, min_dist = 0.1, metric = "euclidean", n_epochs =
200),
tsne_params = list(perplexity = 30, mapping_max_iter = 1000, theta = 0.5),
compute_loadings = FALSE,
random_state = NULL
)
An S3 object of class dim_reduction_config
, which is a list
containing the specified configuration parameters for dimensionality reduction.
Dimension reduction method ("pca", "umap", "tsne")
Number of components to compute
Scale the data before reduction
Center the data before reduction
List of PCA-specific parameters
List of UMAP-specific parameters
List of t-SNE-specific parameters
Compute and return loadings
Random seed for reproducibility