Skip to content

Commit

Permalink
bug fix: use read.delim instead of read_tsv to avoid NA chromosome co…
Browse files Browse the repository at this point in the history
…lumn (X <- NA)
  • Loading branch information
LiNk-NY committed Sep 2, 2020
1 parent 3c8c85d commit 80fc587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/cBioDataPack.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ loadStudy <-
exptlist <- lapply(expseq, function(i, files, xpnames) {
fname <- files[[i]]
message(paste0("Working on: ", fname))
dat <- as.data.frame(
readr::read_tsv(fname, comment = "#"),
check.names = FALSE)
dat <- read.delim(
fname, sep = "\t", comment.char = "#", stringsAsFactors = FALSE
)
dat <- .cleanHugo(dat)
dat <- .cleanStrands(dat)
dat <- .standardizeBuilds(dat)
Expand Down

0 comments on commit 80fc587

Please sign in to comment.