diff cpm_tpm_rpk.R @ 5:bcff1eb6fdb5 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d6ef3d1c1d490967b7b79138573a86a8d5235c43
author artbio
date Fri, 06 Oct 2023 18:00:05 +0000
parents be358a1ebf67
children
line wrap: on
line diff
--- a/cpm_tpm_rpk.R	Thu Oct 05 13:50:22 2023 +0000
+++ b/cpm_tpm_rpk.R	Fri Oct 06 18:00:05 2023 +0000
@@ -161,7 +161,7 @@
 
 #### running code ####
 
-data <- read.table(
+data <- read.delim(
   opt$data,
   check.names = FALSE,
   header = opt$colnames,
@@ -171,7 +171,7 @@
 
 if (opt$type == "tpm" || opt$type == "rpk") {
   gene_length <- as.data.frame(
-    read.table(
+    read.delim(
       opt$gene,
       header = opt$gene_header,
       row.names = 1,