Skip to content

Commit

Permalink
escape file path characters from sampleNames for read.flowSet.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejiang committed Sep 13, 2020
1 parent 10e68d2 commit 0e1545f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/IO.R
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,8 @@ read.flowSet <- function(files=NULL, path=".", pattern=NULL, phenoData=NULL,
keyword(x)[["GUID.original"]] <- as.character(keyword(x, "GUID"))
x
})
#sub / or \,: with _ to avoid trouble later when write.flowSet
guids <- as.vector(gsub("[/:\\\\]", "_", guids))
sampleNames(flowSet) <- guids
if(!missing(name))
identifier(flowSet) <- name
Expand Down

0 comments on commit 0e1545f

Please sign in to comment.