construct_sim_names.Rd
A helper function to generate a character vector of SiMLR feature names based on a set of modality prefixes and numeric indices.
construct_sim_names(base_names, indices)
A character vector of combined names (e.g., "t1PC1", "dtPC1", ... "rsfPC10").
modalities <- c("t1", "dt", "rsf")
components <- 1:3
construct_sim_names(modalities, components)
#> [1] "t1PC1" "dtPC1" "rsfPC1" "t1PC2" "dtPC2" "rsfPC2" "t1PC3" "dtPC3"
#> [9] "rsfPC3"