Mercurial > repos > labis-app > galaxy_proteomics
annotate write_util.R @ 0:ba070efb6f78 draft
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
author | labis-app |
---|---|
date | Tue, 03 Jul 2018 17:34:13 -0400 |
parents | |
children |
rev | line source |
---|---|
0
ba070efb6f78
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
labis-app
parents:
diff
changeset
|
1 writeout <- function (filename, table) { |
ba070efb6f78
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
labis-app
parents:
diff
changeset
|
2 output_handler <- file(filename, "w") |
ba070efb6f78
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
labis-app
parents:
diff
changeset
|
3 write.table(table, file=output_handler, sep="\t", row.names=FALSE); |
ba070efb6f78
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
labis-app
parents:
diff
changeset
|
4 close(output_handler) |
ba070efb6f78
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
labis-app
parents:
diff
changeset
|
5 } |