Get sample metadata
getSampleMetadata.Rd
Generates sample metadata based on the input variables, replication matrix, and number of genes.
Examples
list_var <- init_variable()
#> Variable name should not contain digits, spaces, or special characters.
#> If any of these are present, they will be removed from the variable name.
replicationMatrix <- generateReplicationMatrix(list_var, 3, 3)
getSampleMetadata(list_var, replicationMatrix)
#> myVariable sampleID
#> 1 myVariable1 myVariable1_1
#> 2 myVariable1 myVariable1_2
#> 3 myVariable1 myVariable1_3
#> 4 myVariable2 myVariable2_1
#> 5 myVariable2 myVariable2_2
#> 6 myVariable2 myVariable2_3