Skip to content

Commit

Permalink
make colData entries for Group and PBGroup
Browse files Browse the repository at this point in the history
PBGroup is a longer form name that differentiates different PB subgroups.
Group tells which value in `groupBy` this column corresponds to
  • Loading branch information
rcorces authored Apr 3, 2023
1 parent fd1e76d commit 629cf1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/GroupExport.R
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ getPBGroupSE <- function(
logFile = logFile
)
sePB <- sePB[,colnames(sePB) != "NA"]
colData(sePB)$Group <- stringr::str_split(colnames(sePB), pattern="\\.Rep", simplify=TRUE)[,1]
colData(sePB)$PBGroup <- stringr::str_split(colnames(sePB), pattern="\\.Rep", simplify=TRUE)[,1]
colData(sePB)$Group <- sapply(stringr::str_split(colnames(sePB), pattern="\\."), `[`, 1)

sePB

Expand Down

0 comments on commit 629cf1d

Please sign in to comment.