diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml old mode 100755 new mode 100644 index 6ca9e4f..c25b6c2 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9015 + rev: v0.4.3.9020 hooks: - id: style-files args: [--style_pkg=styler, --style_fun=tidyverse_style] diff --git a/R/dataset.R b/R/dataset.R index 39e0d1d..26e2633 100755 --- a/R/dataset.R +++ b/R/dataset.R @@ -151,8 +151,6 @@ generate_summarized_experiment <- function(annotation, count_matrix, tpm_matrix, } - - #' Build \link[SummarizedExperiment]{SummarizedExperiment} using local annotation and count matrix R objects #' #' @param annotation (mandatory) dataframe; needs columns 'ID' and 'cell_type'; 'ID' needs to be equal with cell_names in count_matrix diff --git a/R/simulator.R b/R/simulator.R index c9b0e1f..a6dd338 100755 --- a/R/simulator.R +++ b/R/simulator.R @@ -837,7 +837,6 @@ merge_simulations <- function(simulation_list) { } - #' Create scaling vector from custom or pre-defined scaling factor #' #' @param data dataset diff --git a/tests/testthat/test_simulator.R b/tests/testthat/test_simulator.R index be14f20..df7560b 100755 --- a/tests/testthat/test_simulator.R +++ b/tests/testthat/test_simulator.R @@ -76,8 +76,6 @@ test_that("test different scaling factor calculations + mRNA bias removal from c }) - - test_that("test census", { tpm <- Matrix::Matrix(matrix(rpois(3e5, 5), ncol = 300), sparse = TRUE) tpm <- Matrix::t(1e6 * Matrix::t(tpm) / Matrix::colSums(tpm))