File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 16
16
# ' @param parameter the vector of parameters. The first parameter is the value of alpha in the mathematical model
17
17
# ' , the second one is the value of beta in the mathematical model.
18
18
# '
19
- # ' @param nIter the maximum iterations, the default is 60 .
19
+ # ' @param nIter the maximum iterations, the default is 20 .
20
20
# '
21
21
# ' @param error_out_threshold the threshold of the error between the current imputed matrix and the previous one.
22
- # ' Default is 1e-5 .
22
+ # ' Default is 1e-4 .
23
23
# '
24
- # ' @param nIter_inner the maximum interations of calculating the sub-optimization problem. Default is 60 .
24
+ # ' @param nIter_inner the maximum interations of calculating the sub-optimization problem. Default is 20 .
25
25
# '
26
26
# ' @param error_inner_threshold the threshold of the error between the current updated matrix and the previous one.
27
- # ' Default is 1e-5 .
27
+ # ' Default is 1e-4 .
28
28
# '
29
29
# ' @examples
30
30
# ' # Set up the parameter used in SCRABBLE
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ SCRABBLE imputes drop-out data by optimizing an objective function that consists
9
9
### Install from Github
10
10
```
11
11
library(devtools)
12
- install_github("tanlabcode /SCRABBLE/tree/master /R")
12
+ install_github("software-github /SCRABBLE/R")
13
13
```
14
14
15
15
### Install from source codes
@@ -27,13 +27,13 @@ Where `path_to_file` would represent the full path and file name:
27
27
28
28
### Quick start
29
29
```
30
- data_sc <- data [[1]]
31
- data_bulk <- data [[2]]
32
- data_true <- data [[3]]
30
+ data_sc <- demo_data [[1]]
31
+ data_bulk <- demo_data [[2]]
32
+ data_true <- demo_data [[3]]
33
33
34
34
parameter <- c(1,1e-6,1e-4)
35
35
36
- result <- scrabble(data , parameter = parameter)
36
+ result <- scrabble(demo_data , parameter = parameter)
37
37
```
38
38
## MATLAB Version
39
39
You can’t perform that action at this time.
0 commit comments