Skip to content

Commit

Permalink
1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
GEHoffman committed Jul 19, 2024
1 parent b52f3b0 commit 8a427be
Show file tree
Hide file tree
Showing 18 changed files with 547 additions and 620 deletions.
7 changes: 5 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: dreamlet
Type: Package
Title: Scalable differential expression analysis of single cell transcriptomics datasets with complex study designs
Version: 1.3.2
Date: 2024-06-10
Version: 1.3.3
Date: 2024-07-19
Authors@R: person("Gabriel", "Hoffman", role=c("aut", "cre"), email="gabriel.hoffman@mssm.edu", comment=c(ORCID="0000-0002-0957-0224"))
Description: Recent advances in single cell/nucleus transcriptomic technology has enabled collection of cohort-scale datasets to study cell type specific gene expression differences associated disease state, stimulus, and genetic regulation. The scale of these data, complex study designs, and low read count per cell mean that characterizing cell type specific molecular mechanisms requires a user-frieldly, purpose-build analytical framework. We have developed the dreamlet package that applies a pseudobulk approach and fits a regression model for each gene and cell cluster to test differential expression across individuals associated with a trait of interest. Use of precision-weighted linear mixed models enables accounting for repeated measures study designs, high dimensional batch effects, and varying sequencing depth or observed cells per biosample.
VignetteBuilder: knitr
Expand All @@ -18,6 +18,7 @@ Suggests:
muscat,
ExperimentHub,
RUnit,
muscData,
scater,
scuttle
biocViews:
Expand Down Expand Up @@ -70,6 +71,8 @@ Imports:
tidyr,
rlang,
BiocGenerics,
S4Arrays,
SparseArray,
DelayedArray,
gtools,
reshape2,
Expand Down
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ exportMethods(topTable)
exportMethods(zenith_gsa)
import(Rcpp)
import(ggplot2)
importClassesFrom(SparseArray,SparseArray)
importClassesFrom(limma,EList)
importFrom(BiocParallel,SerialParam)
importFrom(BiocParallel,bplapply)
importFrom(DelayedArray,colsum)
importFrom(DelayedArray,defaultAutoGrid)
importFrom(DelayedArray,getAutoBlockSize)
importFrom(DelayedArray,read_block)
importFrom(DelayedArray,setAutoBlockSize)
importFrom(DelayedMatrixStats,colSums2)
importFrom(GSEABase,geneIds)
Expand All @@ -91,6 +91,7 @@ importFrom(MatrixGenerics,rowSds)
importFrom(MatrixGenerics,rowSums2)
importFrom(MatrixGenerics,rowVars)
importFrom(Rdpack,reprompt)
importFrom(S4Arrays,read_block)
importFrom(S4Vectors,"metadata<-")
importFrom(S4Vectors,DataFrame)
importFrom(S4Vectors,as.data.frame)
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

# dreamlet 1.3.3
- July 19, 2024
- fix in `.read_matrix_block()`
- See https://github.com/GabrielHoffman/dreamlet/pull/23/commits/c453ac98ebc0329279b4dd3ae26a674df0e9b1f2

# dreamlet 1.3.1
- May 31, 2024
- bump Bioc version
Expand Down
7 changes: 4 additions & 3 deletions R/colsum_fast.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ create_idxlist <- function(fct) {
res
}

# copied from DelayedArray:::.read_matrix_block
# patched: https://github.com/GabrielHoffman/dreamlet/pull/23/commits/c453ac98ebc0329279b4dd3ae26a674df0e9b1f2
#' @importFrom methods as
#' @importFrom DelayedArray read_block
#' @importFrom S4Arrays read_block
#' @importClassesFrom SparseArray SparseArray
.read_matrix_block <- function(...) {
block <- read_block(..., as.sparse = NA)
if (is(block, "SparseArraySeed")) {
if (is(block, "SparseArray")) {
block <- as(block, "CsparseMatrix")
}
block
Expand Down
76 changes: 28 additions & 48 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a427be

Please sign in to comment.