Skip to content

Commit b5aecd4

Browse files
committed
build: update renv and dependencies
1 parent f4a7213 commit b5aecd4

16 files changed

+899
-782
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
^\.vale\.ini$
1919
^\.vscode$
2020
^_pkgdown\.yml$
21+
^codecov\.yaml$
2122
^codecov\.yml$
2223
^codemeta\.json$
2324
^data-raw$

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exclude: '.*\.(csv|tsv|xls)$'
44
repos:
55
- repo: https://github.com/lorenzwalthert/precommit
6-
rev: v0.4.3.9017
6+
rev: v0.4.3.9020
77
hooks:
88
- id: use-tidy-description
99
- id: codemeta-description-updated

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: drugfindR
22
Title: Investigate iLINCS for candidate repurposable drugs
3-
Version: 0.99.1363
3+
Version: 0.99.1364
44
Authors@R: c(
55
person(given = c("Ali", "Sajid"),
66
family = "Imami",

R/consensusConcordants.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,11 @@ NULL
427427
#' }
428428
#'
429429
consensusConcordants <- function(
430-
...,
431-
paired = FALSE,
432-
cutoff = 0.321,
433-
cellLine = NULL) {
430+
...,
431+
paired = FALSE,
432+
cutoff = 0.321,
433+
cellLine = NULL
434+
) {
434435
# Capture input dataframes
435436
dots <- list(...)
436437

R/filterSignature.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,9 @@
469469
#' # Get top 20% most up-regulated genes
470470
#' topUpregulated <- filterSignature(kdSignature, direction = "up", prop = 0.2)
471471
filterSignature <- function(
472-
signature, direction = "any",
473-
threshold = NULL, prop = NULL) {
472+
signature, direction = "any",
473+
threshold = NULL, prop = NULL
474+
) {
474475
# Validate input parameters
475476
.validateFilterSignatureInput(signature, direction, threshold, prop)
476477

R/investigateSignature.R

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,21 @@ NULL
7474
#' head(investigatedSignature)
7575
#' }
7676
investigateSignature <- function(
77-
expr,
78-
outputLib,
79-
filterThreshold = NULL,
80-
filterProp = NULL,
81-
similarityThreshold = 0.2,
82-
paired = TRUE,
83-
outputCellLines = NULL,
84-
geneColumn = "Symbol",
85-
logfcColumn = "logFC",
86-
pvalColumn = "PValue",
87-
sourceName = "Input",
88-
sourceCellLine = NA,
89-
sourceTime = NA,
90-
sourceConcentration = NA) {
77+
expr,
78+
outputLib,
79+
filterThreshold = NULL,
80+
filterProp = NULL,
81+
similarityThreshold = 0.2,
82+
paired = TRUE,
83+
outputCellLines = NULL,
84+
geneColumn = "Symbol",
85+
logfcColumn = "logFC",
86+
pvalColumn = "PValue",
87+
sourceName = "Input",
88+
sourceCellLine = NA,
89+
sourceTime = NA,
90+
sourceConcentration = NA
91+
) {
9192
stopIfInvalidLibraries(outputLib) # nolint: object_usage_linter.
9293
if (missing(outputLib)) {
9394
stop("Please specify an output library", call. = FALSE)

R/investigateTarget.R

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,13 @@ NULL
129129
#' # })
130130
#' }
131131
investigateTarget <- function(
132-
target,
133-
inputLib, outputLib,
134-
filterThreshold = 0.85,
135-
similarityThreshold = 0.321,
136-
paired = TRUE, inputCellLines = NULL,
137-
outputCellLines = NULL) {
132+
target,
133+
inputLib, outputLib,
134+
filterThreshold = 0.85,
135+
similarityThreshold = 0.321,
136+
paired = TRUE, inputCellLines = NULL,
137+
outputCellLines = NULL
138+
) {
138139
stopIfInvalidLibraries(c(inputLib, outputLib)) # nolint: object_usage_linter.
139140

140141
# Load metadata and obtain candidate source signatures for the target

R/prepareSignature.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,10 @@
247247
#' )
248248
#' print(custom_signature)
249249
prepareSignature <- function(
250-
dge, geneColumn = "Symbol",
251-
logfcColumn = "logFC",
252-
pvalColumn = "PValue") {
250+
dge, geneColumn = "Symbol",
251+
logfcColumn = "logFC",
252+
pvalColumn = "PValue"
253+
) {
253254
# Validate input parameters
254255
.validatePrepareSignatureInput(dge, geneColumn, logfcColumn, pvalColumn)
255256

R/utilities.R

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,14 @@ stopIfInvalidSignature <- function(signature) {
434434
#'
435435
#' @examples NULL
436436
.computeConsensusFromSignature <- function(
437-
signature,
438-
outputLib,
439-
filterThreshold = NULL,
440-
filterProp = NULL,
441-
similarityThreshold = 0.321,
442-
paired = TRUE,
443-
outputCellLines = NULL) {
437+
signature,
438+
outputLib,
439+
filterThreshold = NULL,
440+
filterProp = NULL,
441+
similarityThreshold = 0.321,
442+
paired = TRUE,
443+
outputCellLines = NULL
444+
) {
444445
stopIfInvalidLibraries(outputLib)
445446

446447
if (paired) {

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ If you use drugfindR in your research, please cite:
182182
```
183183
Imami AS, Sahay S, Creeden JF, McCullumsmith RE (2024).
184184
drugfindR: Investigate iLINCS for candidate repurposable drugs.
185-
R package version 0.99.1363.
185+
R package version 0.99.1364.
186186
doi:10.5281/zenodo.338354715
187187
```
188188

0 commit comments

Comments
 (0)