Skip to content

Commit 22d59a6

Browse files
committed
NF_MAAgilent1ch: address #100
1 parent 9df6fe9 commit 22d59a6

File tree

1 file changed

+1
-1
lines changed
  • Microarray/Agilent_1-channel/Workflow_Documentation/NF_MAAgilent1ch/workflow_code/bin

1 file changed

+1
-1
lines changed

Microarray/Agilent_1-channel/Workflow_Documentation/NF_MAAgilent1ch/workflow_code/bin/Agile1CMP.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ reformat_names <- function(colname, group_name_mapping) {
715715
stringr::str_replace(pattern = ".condition", replacement = "v")
716716
717717
# remap to group names before make.names was applied
718-
unique_group_name_mapping <- unique(group_name_mapping)
718+
unique_group_name_mapping <- unique(group_name_mapping) %>% arrange(-nchar(safe_name))
719719
for ( i in seq(nrow(unique_group_name_mapping)) ) {
720720
safe_name <- unique_group_name_mapping[i,]$safe_name
721721
original_name <- unique_group_name_mapping[i,]$original_name

0 commit comments

Comments
 (0)