Description Usage Arguments Value
Main DataRemix function
1 2 3 |
svdres |
The full SVD decomposition of input gene expression profile X, which is equal to svd(X) |
matrix |
The input gene expression profile X |
fn |
The custom function which takes svdres and some additional custom parameters as input and output the biological metric to be maximized. It can have multiple output in the vector format, but the optimized metric should be put at the last position |
k_limits |
The lower and upper bound of k. By default the lower bound is set to be 1 and the upper bound is set to be the half of the rank |
p_limits |
The lower and upper bound of p. By default the lower bound is set to be -1 and the upper bound is set to be 1 |
mu_limits |
The lower and upper bound of μ. By defult the lower bound is set to be 1e-12 and the upper bound is set to be 1 |
num_of_initialization |
By default it uses 5 steps of Random Search to initialize the Thompson Sampling. We also provide a coarsed grid option for initialization with num_of_initialization set to be 0 |
num_of_thompson |
The number of steps of Thompson Sampling, which is 600 by default |
basis |
The default is to use "omega" corresponding to exponential kernel. There are two other options available: "omega_Gaussian" (Gaussian kernel) and "omega_Laplacian" (Laplacian kernel) |
basis_size |
The default mt is set to be 2,500. You can specify a smaller mt by setting it to be 2,000. |
xi |
A pre-defined probability which ensures the search doesn't stuck in the local optimum, which is 0.1 by default |
full |
If full is set to be True, the output will be the complete search history. Otherwise the output will only be the optimal combination of k, p and μ and the corresponding biological metric |
verbose |
If verbose is set to be True, then after each Thompson Sampling iteration, the function will print out the intermediate result. |
... |
Additional arguments used as inputs to fn() |
para |
If verbose is set to be True, the dimension of para is (num_of_initialization+num_of_thompson)-by-4(k, p, μ, biological metric). Otherwise, para is only a single vector with length 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.