# HG changeset patch # User greg # Date 1502391226 14400 # Node ID 54ec2ba55b8746fcd5a54d65fbc307f942f98f76 # Parent e8dd7b5e4e95882895aa2691b05595484e7e5e1f Uploaded diff -r e8dd7b5e4e95 -r 54ec2ba55b87 build_matrix.R --- a/build_matrix.R Thu Aug 10 14:46:46 2017 -0400 +++ b/build_matrix.R Thu Aug 10 14:53:46 2017 -0400 @@ -16,4 +16,4 @@ status <- match(r_matrix[,3], missing); r_matrix[,3] <- paste(opt$work_dir, r_matrix[,1], ".", r_matrix[,2], ".bed.gz", sep=""); r_matrix <- r_matrix[is.na(status)==TRUE,]; -write.table(array(r_matrix, dim=c(length(r_matrix)/3, 3)), opt$output, quote=FALSE, row.names=FALSE, col.names=FALSE); +write.table(array(r_matrix, dim=c(length(r_matrix)/3, 3)), file=opt$output, quote=FALSE, row.names=FALSE, col.names=FALSE);