Mercurial > repos > prog > lcmsmatching
comparison MassFiledbConn.R @ 5:fb9c0409d85c draft
planemo upload for repository https://github.com/workflow4metabolomics/lcmsmatching.git commit 608d9e59a0d2dcf85a037968ddb2c61137fb9bce
author | prog |
---|---|
date | Wed, 19 Apr 2017 10:00:05 -0400 |
parents | 20d69a062da3 |
children |
comparison
equal
deleted
inserted
replaced
4:b34c14151f25 | 5:fb9c0409d85c |
---|---|
59 MassFiledbConn$methods( .init.db = function() { | 59 MassFiledbConn$methods( .init.db = function() { |
60 | 60 |
61 if (is.null(.self$.db)) { | 61 if (is.null(.self$.db)) { |
62 | 62 |
63 # Load database | 63 # Load database |
64 .db <<- read.table(.self$.file, sep = .self$.file.sep, .self$.file.quote, header = TRUE, stringsAsFactors = FALSE, row.names = NULL) | 64 .db <<- read.table(.self$.file, sep = .self$.file.sep, .self$.file.quote, header = TRUE, stringsAsFactors = FALSE, row.names = NULL, comment.char = '') |
65 | 65 |
66 # Save column names | 66 # Save column names |
67 .db.orig.colnames <<- colnames(.self$.db) | 67 .db.orig.colnames <<- colnames(.self$.db) |
68 } | 68 } |
69 }) | 69 }) |