Skip to content

Commit

Permalink
use sample_name as the colnames of resulting SummarizedExperiment object
Browse files Browse the repository at this point in the history
  • Loading branch information
hsiaoyi0504 committed Nov 28, 2024
1 parent a1260ca commit 299d8ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/io.R
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@ make_se_customized <- function(proteins_unique, columns, expdesign, log2transfor
)
}

colnames(raw)[matched] <- expdesign$label
rownames(expdesign) <- expdesign$sample_name
colnames(raw)[matched] <- expdesign$sample_name
raw <- raw[, !is.na(colnames(raw))][rownames(expdesign)]

# Select the rowData
Expand Down

0 comments on commit 299d8ef

Please sign in to comment.