From 7fd371e5317f9c61fe5a32daadbbac1c64b2dd31 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Fri, 3 Nov 2017 10:59:17 +0100 Subject: [PATCH] add some TODO and skeleton for test/test_EMGrank.R --- TODO | 6 ++++++ test/test_EMGrank.R | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 test/test_EMGrank.R diff --git a/TODO b/TODO index 4feab94..558e090 100644 --- a/TODO +++ b/TODO @@ -1 +1,7 @@ Apply git-fat patch + +Continue debug: (message "cannot allocate vector 40gb" ?! + X = matrix(runif(n*p, -10, 10), nrow=n) + Y = matrix(runif(n*m, -5, 15), nrow=n) + V1 = valse::valse(X, Y, fast=FALSE) #OK + V2 = valse::valse(X, Y, fast=FALSE) #not OK... almost diff --git a/test/test_EMGrank.R b/test/test_EMGrank.R new file mode 100644 index 0000000..9aec8bb --- /dev/null +++ b/test/test_EMGrank.R @@ -0,0 +1,16 @@ +library(valse) +testFolder = "data/" + +# NOTE: R typing is really terrible. as.double as.matrix ...and so on; don't remove. + +#get inputs +#TODO + +#get outputs +#TODO + +res = valse::EMGrank(...) + +#compare outputs +nd=7 #number of digits +#TODO -- 2.44.0