Skip to content

Commit

Permalink
Added NA to the na.strings of ds.read
Browse files Browse the repository at this point in the history
  • Loading branch information
eharpste authored May 30, 2019
1 parent 59e8bbd commit f2c8b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/read.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#' @param file.name The name of the file to read in.
#' @export
ds.read <- function(file.name) {
return(read.csv(file = file.name,sep="\t",check.names=FALSE,na.strings = c(""," ","#N/A")))
}
return(read.csv(file = file.name,sep="\t",check.names=FALSE,na.strings = c(""," ","#N/A","NA")))
}

0 comments on commit f2c8b33

Please sign in to comment.