Mercurial > repos > labis-app > galaxy_proteomics
annotate write_util.R @ 1:f3fa21cda5f5 draft default tip
planemo upload commit 13e72e84c523bda22bda792bbebf4720d28542d5-dirty
author | labis-app |
---|---|
date | Fri, 10 Aug 2018 15:45:44 -0400 |
parents | ba070efb6f78 |
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 } |