Generate Doublets with Different Variance Clusters and Noise
Source:R/clustering.R
one_doublet_diff_var_clust.Rd
This function generates data with one set of doublets (pairs of clusters) having clusters with different variance, along with added background noise.
Arguments
- n
The total number of data points to be generated.
- num_noise
The number of additional noise dimensions to be generated.
- min_n
The minimum value for the noise added to the data points.
- max_n
The maximum value for the noise added to the data points.
Examples
# Generate doublets with different variance clusters and noise with custom parameters
set.seed(20240412)
data <- one_doublet_diff_var_clust(
n = 260, num_noise = 2,
min_n = -0.05, max_n = 0.05
)