Skip to content

Commit 6324de7

Browse files
committed
BiologicsAssayFilesTest to optionally add a no-op transform script to assay designs to test import with and without them
1 parent 98d9743 commit 6324de7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

data/qc/noopTransform.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
library(Rlabkey);
2+
3+
run.props = labkey.transform.readRunPropertiesFile("${runInfo}");
4+
run.data.file = labkey.transform.getRunPropertyValue(run.props, "runDataFile");
5+
run.output.file = run.props$val3[run.props$name == "runDataFile"];
6+
7+
run.data = read.delim(run.data.file, header=TRUE, sep="\t", quote="", check.names=FALSE);
8+
run.data$TransformType = "${transformOperation}";
9+
write.table(run.data, file=run.output.file, sep="\t", na="", row.names=FALSE, quote=FALSE);

0 commit comments

Comments
 (0)