groupXpert()
groupXpert(data, sep = "_", as.name = TRUE, specify = NULL)
A vector named as the colname and uses group name as the value.
Data.frame. Row data to be grouped.
Character. The separator used to separate variables from the number of repeats
Logical. If is true, the group name will be used as the name of the return value. If is false, the sample name will be used as the name of the return value.
List. Used to set groups manually. Each sublist has a group name and a value based on the column range in which it is located. No duplicate values can appear in the sublist.