Assign name to components in the seperate analysis, sepPCA, sepICA, sepNMF
Usage
compNameAssignSep(linked_component_list, dataset_name)
Arguments
- linked_component_list
list of components extracted
- dataset_name
A vector of names for the datasets
Value
renamed list of linked_component_list
Examples
linked_component_list = list(matrix(c(1:4), nrow = 2), matrix(c(1:4), nrow = 2))
dataset_name = c("x", "y")
compNameAssignSep(linked_component_list, dataset_name)
#> $x
#> x_subcomp.1 x_subcomp.2
#> [1,] 1 3
#> [2,] 2 4
#>
#> $y
#> y_subcomp.1 y_subcomp.2
#> [1,] 1 3
#> [2,] 2 4
#>