Skip to content

Commit 6bb7ae5

Browse files
updated
1 parent e199d92 commit 6bb7ae5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

R/R/scrabble.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
#' @param parameter the vector of parameters. The first parameter is the value of alpha in the mathematical model
1717
#' , the second one is the value of beta in the mathematical model.
1818
#'
19-
#' @param nIter the maximum iterations, the default is 60.
19+
#' @param nIter the maximum iterations, the default is 20.
2020
#'
2121
#' @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.
2323
#'
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.
2525
#'
2626
#' @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.
2828
#'
2929
#' @examples
3030
#' # Set up the parameter used in SCRABBLE

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SCRABBLE imputes drop-out data by optimizing an objective function that consists
99
### Install from Github
1010
```
1111
library(devtools)
12-
install_github("tanlabcode/SCRABBLE/tree/master/R")
12+
install_github("software-github/SCRABBLE/R")
1313
```
1414

1515
### Install from source codes
@@ -27,13 +27,13 @@ Where `path_to_file` would represent the full path and file name:
2727

2828
### Quick start
2929
```
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]]
3333
3434
parameter <- c(1,1e-6,1e-4)
3535
36-
result <- scrabble(data, parameter = parameter)
36+
result <- scrabble(demo_data, parameter = parameter)
3737
```
3838
## MATLAB Version
3939

SCRABBLE_0.0.1.tar.gz

3 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)