changeset 13:ab56b34d67d8 draft

Uploaded
author petr-novak
date Thu, 15 Aug 2019 07:48:49 -0400
parents ddc6bab20889
children a6c55d1bdb6c
files summarize_gff.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/summarize_gff.R	Thu Aug 15 07:20:12 2019 -0400
+++ b/summarize_gff.R	Thu Aug 15 07:48:49 2019 -0400
@@ -24,7 +24,7 @@
   if (any(short)){
     gffattr_list[short] = lapply(gffattr_list[short],function(x) c(x, rep(NA, 13 - length(x))))
   }
-  gffattr = as.data.frame(do.call(rbind, gffattr_list))
+  gffattr = as.data.frame(do.call(rbind, gffattr_list), stringsAsFactors = FALSE)
 
   ## get attributes names
   attrnames =  strsplit(dfraw[1,9],split=c("=|;"))[[1]][c(TRUE,FALSE)]