Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 0 additions & 2 deletions R/dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion R/simulator.R
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ merge_simulations <- function(simulation_list) {
}



#' Create scaling vector from custom or pre-defined scaling factor
#'
#' @param data dataset
Expand Down
2 changes: 0 additions & 2 deletions tests/testthat/test_simulator.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down