Package: dreamlet 1.5.0

Gabriel Hoffman

dreamlet: Scalable differential expression analysis of single cell transcriptomics datasets with complex study designs

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.

Authors:Gabriel Hoffman [aut, cre]

dreamlet_1.5.0.tar.gz
dreamlet_1.5.0.zip(r-4.5)dreamlet_1.5.0.zip(r-4.4)dreamlet_1.5.0.zip(r-4.3)
dreamlet_1.5.0.tgz(r-4.4-x86_64)dreamlet_1.5.0.tgz(r-4.4-arm64)dreamlet_1.5.0.tgz(r-4.3-x86_64)dreamlet_1.5.0.tgz(r-4.3-arm64)
dreamlet_1.5.0.tar.gz(r-4.5-noble)dreamlet_1.5.0.tar.gz(r-4.4-noble)
dreamlet_1.5.0.tgz(r-4.4-emscripten)dreamlet_1.5.0.tgz(r-4.3-emscripten)
dreamlet.pdf |dreamlet.html
dreamlet/json (API)
NEWS

# Install 'dreamlet' in R:
install.packages('dreamlet', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/diseaseneurogenomics/dreamlet/issues

Pkgdown:https://diseaseneurogenomics.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On BioConductor:dreamlet-1.5.0(bioc 3.21)dreamlet-1.4.1(bioc 3.20)

rnaseqgeneexpressiondifferentialexpressionbatcheffectqualitycontrolregressiongenesetenrichmentgeneregulationepigeneticsfunctionalgenomicstranscriptomicsnormalizationsinglecellpreprocessingsequencingimmunooncologysoftwarecpp

8.33 score 12 stars 124 scripts 198 downloads 49 exports 180 dependencies

Last updated 2 months agofrom:dd6cd83b1f. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-win-x86_64NOTEDec 18 2024
R-4.5-linux-x86_64NOTEDec 18 2024
R-4.4-win-x86_64NOTEDec 18 2024
R-4.4-mac-x86_64NOTEDec 18 2024
R-4.4-mac-aarch64NOTEDec 18 2024
R-4.3-win-x86_64NOTEDec 18 2024
R-4.3-mac-x86_64NOTEDec 18 2024
R-4.3-mac-aarch64NOTEDec 18 2024

Exports:aggregateNonCountSignalaggregateToPseudoBulkaggregateVaras.dreamletResultassayassayNamesbuildClusterTreeFromPBcellCountscellTypeSpecificitycoefNamescolDatacolData<-compositePosteriorTestcomputeCellCountscomputeLogCPMcomputeNormCountsdetailsdreamletdreamletCompareClustersdropRedundantTermsextractDatafitVarPartgetTreatmeta_analysismetadataoutlieroutlierByAssayplotBeeswarmplotCellCompositionplotForestplotGeneHeatmapplotHeatmapplotPCAplotPercentBarsplotProjectionplotViolinplotVolcanoplotVoomprintprocessAssaysremoveConstantTermsresidualsrun_mashseeErrorsshowsortColsstackAssaystopTablezenith_gsa

Dependencies:abindannotateAnnotationDbiaodashraskpassassertthatassortheadbabelgenebackportsbeachmatbeeswarmBHBiobaseBiocFileCacheBiocGenericsBiocManagerBiocParallelBiostringsbitbit64bitopsblobbootbroomcachemcaToolsclicodetoolscolorspacecorpcorcowplotcpp11crayoncurldata.tableDBIdbplyrDelayedArrayDelayedMatrixStatsDerivdoBydplyredgeREnrichmentBrowserEnvStatsetrunctfANCOVAfansifarverfastmapfilelockformatRfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomeInfoDbDataGenomicRangesggbeeswarmggplot2ggrepelglueGO.dbgplotsgraphgraphiteGSEABasegtablegtoolshmshttrhwriterinvgammaIRangesirlbaisobanditeratorsjsonliteKEGGgraphKEGGRESTKernSmoothlabelinglambda.rlatticelifecyclelimmalme4lmerTestlocfitmagrittrmashrMASSmathjaxrMatrixMatrixGenericsmatrixStatsmemoisemetadatmetaformgcvmicrobenchmarkmimeminqamixsqpmodelrmsigdbrmunsellmvtnormnlmenloptrnortestnumDerivopensslorg.Hs.eg.dbpathviewpbapplypbkrtestpillarpkgconfigplogrplyrpngprettyunitsprogresspurrrR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppGSLRcppParallelRcppZigguratRCurlRdpackremaCorreshape2RfastRgraphvizRhpcBLASctlrlangrmetaRSQLiteS4ArraysS4VectorssafescalesscattermoreSingleCellExperimentsnowsoftImputeSparseArraySparseMsparseMatrixStatsSPIASQUAREMstatmodstringistringrSummarizedExperimentsystibbletidyrtidyselecttruncnormUCSC.utilsutf8variancePartitionvctrsviporviridisLitewithrXMLxtableXVectorzenithzlibbioc

Dreamlet analysis of single cell RNA-seq

Rendered fromdreamlet.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-07-10
Started: 2021-04-23

Error handling

Rendered fromerrors.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-01-25
Started: 2023-10-26

Handling large H5AD datasets

Rendered fromh5ad_on_disk.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-07-19
Started: 2021-11-24

mashr analysis after dreamlet

Rendered frommashr.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2023-08-09
Started: 2021-11-24

Modeling continuous cell-level covariates

Rendered fromcell_covs.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2023-10-26
Started: 2023-03-29

Testing non-linear effects

Rendered fromnon_lin_eff.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2023-08-19
Started: 2023-03-29

Readme and manuals

Help Manual

Help pageTopics
Subset with brackets[,dreamletProcessedData,ANY,ANY,ANY-method [,dreamletProcessedData,dreamletProcessedData-method [,dreamletResult,ANY,ANY,ANY-method [,dreamletResult,dreamletResult-method
Aggregation of single-cell signalsaggregateNonCountSignal
Aggregation of single-cell to pseudobulk dataaggregateToPseudoBulk
Per-sample variance of single-cell countsaggregateVar
Convert list of regression fits to 'dreamletResult'as.dreamletResult
Get assayassay,dreamletProcessedData,ANY-method assay,dreamletProcessedData,dreamletProcessedData-method assay,dreamletResult,ANY-method assay,dreamletResult,dreamletResult-method assay,vpDF,ANY-method assay,vpDF,vpDF-method
Get assayNamesassayNames,dreamletProcessedData,dreamletProcessedData-method assayNames,dreamletProcessedData-method assayNames,dreamletResult,dreamletResult-method assayNames,dreamletResult-method assayNames,vpDF,vpDF-method assayNames,vpDF-method
Hierarchical clustering on cell types from pseudobulkbuildClusterTreeFromPB
Extract cell countscellCounts
Class cellSpecificityValuescellSpecificityValues-class
Get cell type specificity of gene expressioncellTypeSpecificity
Check variables in a formulacheckFormula
Get coefficient namescoefNames coefNames,dreamletResult-method
Extract colData from 'dreamletProcessedData'colData,dreamletProcessedData-method
Set colDatacolData<-,dreamletProcessedData,ANY-method
Perform composite test on results from mashrcompositePosteriorTest
Get cell counts with metadatacomputeCellCounts
Compute log normalized countscomputeLogCPM
Compute normalized countscomputeNormCounts
Extract details from dreamletProcessedDatadetails details,dreamletProcessedData-method details,dreamletResult-method details,vpDF-method
Test differential variancediffVar,dreamletResult,dreamletResult-method diffVar,dreamletResult-method
Differential expression for each assaydreamlet dreamlet,dreamletProcessedData-method
Class dreamlet_mash_resultdreamlet_mash_result-class
Differential expression between pair of assaysdreamletCompareClusters
Class dreamletProcessedDatadreamletProcessedData-class
Class dreamletResultdreamletResult-class
Drop redundant terms from the modeldropRedundantTerms
Check if two formulas are equalequalFormulas
Extract normalized expression and 'colData'extractData extractData,dreamletProcessedData,character-method extractData,dreamletProcessedData-method
Variance Partition analysis for each assayfitVarPart fitVarPart,dreamletProcessedData-method
Test if coefficient is different from a specified valuegetTreat,dreamletResult,dreamletResult-method getTreat,dreamletResult-method
Meta-analysis across multiple studiesmeta_analysis
Extract metadata from 'dreamletProcessedData'metadata,dreamletProcessedData,dreamletProcessedData-method metadata,dreamletProcessedData-method
Multivariate outlier detectionoutlier
Outlier analysis for each assayoutlierByAssay
Beeswarm plot of effect sizes for each assayplotBeeswarm
Bar plot of cell compositionsplotCellComposition plotCellComposition,data.frame-method plotCellComposition,matrix-method plotCellComposition,SingleCellExperiment-method
Forest plotplotForest plotForest,dreamletResult-method plotForest,dreamlet_mash_result-method
Heatmap of genes and assaysplotGeneHeatmap plotGeneHeatmap,dreamletResult,dreamletResult-method plotGeneHeatmap,dreamletResult-method
Plot heatmapplotHeatmap plotHeatmap,cellSpecificityValues,cellSpecificityValues-method plotHeatmap,cellSpecificityValues-method plotHeatmap,data.frame,data.frame-method plotHeatmap,data.frame-method plotHeatmap,matrix,matrix-method plotHeatmap,matrix-method
Plot PCA of gene expression for an assayplotPCA plotPCA,list-method
Bar plot of variance fractionsplotPercentBars,cellSpecificityValues,cellSpecificityValues-method plotPercentBars,cellSpecificityValues-method plotPercentBars,vpDF,vpDF-method plotPercentBars,vpDF-method
Plot 2D projectionplotProjection
Violin plot of variance fractionsplotVarPart,DataFrame,DataFrame-method plotVarPart,DataFrame-method
Plot ViolinsplotViolin plotViolin,cellSpecificityValues,cellSpecificityValues-method plotViolin,cellSpecificityValues-method
Volcano plot for each cell typeplotVolcano plotVolcano,dreamlet_mash_result,dreamlet_mash_result-method plotVolcano,dreamlet_mash_result-method plotVolcano,list,list-method plotVolcano,list-method plotVolcano,MArrayLM,MArrayLM-method plotVolcano,MArrayLM-method
Plot voom curves from each cell typeplotVoom plotVoom,dreamletProcessedData,dreamletProcessedData-method plotVoom,dreamletProcessedData-method plotVoom,EList-method plotVoom,list,list-method
Print objectprint,dreamletProcessedData,dreamletProcessedData-method print,dreamletProcessedData-method print,dreamletResult,dreamletResult-method print,dreamletResult-method
Processing SingleCellExperiment to dreamletProcessedDataprocessAssays
Processing expression data from assayprocessOneAssay
Remove constant terms from formularemoveConstantTerms
Extract residuals from 'dreamletResult'residuals,dreamletResult,dreamletResult-method residuals,dreamletResult-method
Run mash analysis on dreamlet resultsrun_mash
Get error textseeErrors seeErrors,dreamletProcessedData-method seeErrors,dreamletResult-method seeErrors,vpDF-method
Show objectshow,dreamletProcessedData,dreamletProcessedData-method show,dreamletProcessedData-method show,dreamletResult,dreamletResult-method show,dreamletResult-method
Sort variance partition statisticssortCols,vpDF-method
Stack assays from pseudobulkstackAssays
Convert results table to matrixtabToMatrix
Table of Top Genes from dreamlet fittopTable,dreamletResult,dreamletResult-method topTable,dreamletResult-method
Class vpDFvpDF-class
Perform gene set analysis using zenithzenith_gsa,dreamletResult,GeneSetCollection,ANY-method zenith_gsa,dreamletResult,GeneSetCollection-method zenith_gsa,dreamlet_mash_result,GeneSetCollection,ANY-method zenith_gsa,dreamlet_mash_result,GeneSetCollection-method