Skip to content

Commit

Permalink
Update read.modkit.R - change read.table to fread
Browse files Browse the repository at this point in the history
  • Loading branch information
yixuan-chen-elisa authored Apr 29, 2024
1 parent f4bb6e8 commit b8886bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read.modkit.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ read.modkit <- function(files,
}

for (i in seq_along(files)){
data <- read.table(files[i], header = FALSE, sep="\t",
data <- fread(files[i], header = FALSE, sep="\t",
stringsAsFactors=FALSE, quote="")
data$V6[data$V6 == "."] <- "*"

Expand Down

0 comments on commit b8886bc

Please sign in to comment.