Skip to content

Commit

Permalink
Moved Matrix and SingleCellExperiment to Depends to make sure these a…
Browse files Browse the repository at this point in the history
…re loaded when using celda
  • Loading branch information
joshua-d-campbell committed Mar 25, 2022
1 parent b735d3f commit 7d788c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Description: Celda is a suite of Bayesian hierarchical models for
Bayesian method to computationally estimate and remove RNA contamination in
individual cells without empty droplet information. A variety of scRNA-seq
data visualization functions is also included.
Depends: R (>= 4.0)
Depends: R (>= 4.0), SingleCellExperiment, Matrix
VignetteBuilder: knitr
Imports: plyr, foreach, ggplot2, RColorBrewer, grid, scales, gtable,
grDevices, graphics, matrixStats, doParallel, digest, methods,
reshape2, S4Vectors, data.table,
Rcpp, RcppEigen, uwot, enrichR, SummarizedExperiment,
MCMCprecision, ggrepel, Rtsne, withr,
scater (>= 1.14.4), scran, SingleCellExperiment, dbscan,
DelayedArray, stringr, Matrix, ComplexHeatmap, multipanelfigure,
scater (>= 1.14.4), scran, dbscan,
DelayedArray, stringr, ComplexHeatmap, multipanelfigure,
circlize
Suggests: testthat, knitr, roxygen2, rmarkdown, biomaRt, covr,
BiocManager, BiocStyle, TENxPBMCData, singleCellTK, M3DExampleData
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ import(grDevices)
import(graphics)
import(grid)
import(uwot)
importClassesFrom(SingleCellExperiment,SingleCellExperiment)
importFrom(MCMCprecision,fit_dirichlet)
importFrom(Matrix,colSums)
importFrom(Matrix,rowSums)
Expand Down
2 changes: 2 additions & 0 deletions R/decon.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ setGeneric("decontX", function(x, ...) standardGeneric("decontX"))

#' @export
#' @rdname decontX
#' @importClassesFrom SingleCellExperiment SingleCellExperiment
#' @importClassesFrom Matrix dgCMatrix
setMethod("decontX", "SingleCellExperiment", function(x,
assayName = "counts",
z = NULL,
Expand Down

0 comments on commit 7d788c9

Please sign in to comment.