...
|
...
|
@@ -5,6 +5,15 @@
|
5
|
5
|
#include <omp.h>
|
6
|
6
|
#endif
|
7
|
7
|
|
|
8
|
+// create "nSets" vectors where each vector contains a vector of indices in the
|
|
9
|
+// range [1,n)
|
|
10
|
+// see createGWCoGAPSSets.R - here we just sample indices, that function
|
|
11
|
+// samples gene names as well
|
|
12
|
+static std::vector< std::vector<unsigned> > sampleIndices(unsigned n, unsigned nSets)
|
|
13
|
+{
|
|
14
|
+ // TODO implement
|
|
15
|
+}
|
|
16
|
+
|
8
|
17
|
GapsRunner::GapsRunner(const Rcpp::NumericMatrix &D, const Rcpp::NumericMatrix &S,
|
9
|
18
|
unsigned nFactor, unsigned nEquil, unsigned nCool, unsigned nSample,
|
10
|
19
|
unsigned nOutputs, unsigned nSnapshots, float alphaA, float alphaP,
|