From: Benjamin Auder Date: Fri, 3 Nov 2017 09:59:17 +0000 (+0100) Subject: add some TODO and skeleton for test/test_EMGrank.R X-Git-Url: https://git.auder.net/variants/img/pieces/config.php?a=commitdiff_plain;h=7fd371e5317f9c61fe5a32daadbbac1c64b2dd31;p=valse.git add some TODO and skeleton for 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