Skip to content

Commit f1f35fb

Browse files
committed
fix cran submission
1 parent 1c09c2c commit f1f35fb

8 files changed

Lines changed: 8 additions & 21 deletions

File tree

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dicepro
22
Title: Semi-Supervised Deconvolution of Bulk RNA-Seq Data with Hyperparameter Optimization
3-
Version: 1.0.0
3+
Version: 1.0.1
44
Authors@R: c(
55
person("Kalidou", "BA",
66
role = c("aut", "cre"),
@@ -10,9 +10,9 @@ Authors@R: c(
1010
email = "boris.hejblum@u-bordeaux.fr"))
1111
Description: Performs semi-supervised deconvolution of bulk RNA sequencing
1212
(RNA-seq) data. Known cell-type proportions are estimated using
13-
supervised methods CIBERSORTx (CSx), CIBERSORT (CS), FARDEEP (Fast
13+
supervised methods -- CIBERSORTx (CSx), CIBERSORT (CS), FARDEEP (Fast
1414
And Robust DEconvolution of Expression Profiles), and DCQ (Digital
15-
Cell Quantifier) while unknown components are inferred using
15+
Cell Quantifier) -- while unknown components are inferred using
1616
non-negative matrix factorization (NMF) with limited-memory
1717
Broyden-Fletcher-Goldfarb-Shanno with bounds (L-BFGS-B) optimization.
1818
Hyperparameters are selected automatically using a Pareto-frontier-based

R/hyperopt_selection.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,6 @@
248248
#' least: \code{lambda_}, \code{gamma}, \code{frobNorm}, \code{constraint}.
249249
#' @param W List of \eqn{W} matrices, one per trial.
250250
#' @param H List of \eqn{H} matrices, one per trial.
251-
#' @param savePaths Character scalar. Root directory (kept for
252-
#' API compatibility; no file I/O is performed here).
253251
#' @param constraint_threshold Numeric scalar. Maximum allowed
254252
#' \eqn{|1 - \text{constraint}|}; trials above this threshold are discarded
255253
#' (default \code{0.1}).
@@ -270,7 +268,6 @@
270268
best_hyperParams <- function(trials_df,
271269
W,
272270
H,
273-
savePaths,
274271
constraint_threshold = 0.1) {
275272

276273
# ── Guard: empty input ──────────────────────────────────────────────────────

R/nmf_optim.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
#' @param gamma_par Numeric scalar. Penalty coefficient for the sum-to-one
4040
#' constraint (default \code{100}). Reduce if the optimizer returns
4141
#' infinite values.
42-
#' @param path2save Character scalar. Directory where intermediate results
43-
#' may be saved (currently unused; reserved for future use).
4442
#' @param N_unknownCT Positive integer. Number of latent cell types to
4543
#' estimate (default \code{1}).
4644
#' @param con Named list of control parameters forwarded to
@@ -73,7 +71,6 @@ nmf_lbfgsb <- function(r_dataset,
7371
p_prime = 0,
7472
lambda_ = 10,
7573
gamma_par = 100,
76-
path2save = "",
7774
N_unknownCT = 1L,
7875
con = list(maxit = 3000L)) {
7976

R/optimization.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ run_experiment <- function(dataset,
5656
refName,
5757
hp_max_evals,
5858
algo_select,
59-
output_base_dir = ".",
59+
output_base_dir = tempdir(),
6060
hspaceTechniqueChoose,
61-
gamma_ratio_min = 10,
61+
gamma_ratio_min = 10,
6262
seed) {
6363

6464
paths <- .generate_experiment_paths(

man/best_hyperParams.Rd

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/dicepro-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/nmf_lbfgsb.Rd

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/run_experiment.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)