Commit 43937423 authored by smorabit's avatar smorabit
Browse files

update to DME analysis

parent 69507194
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Package: hdWGCNA
Title: hdWGCNA
Version: 0.2.20
Version: 0.2.21
Authors@R: c(
    person("Sam", "Morabito", , "smorabit@uci.edu", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-7768-4856")),
+1 −1
Original line number Diff line number Diff line
YEAR: 2022
YEAR: 2023
COPYRIGHT HOLDER: hdWGCNA authors
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

export(AvgModuleExpr)
export(BinPseudotime)
export(CheckWGCNAName)
export(ConstructMetacells)
export(ConstructMetaspots)
export(ConstructNetwork)
@@ -13,6 +14,7 @@ export(FindAllDMEs)
export(FindDMEs)
export(FindMajorIsoforms)
export(GetActiveWGCNA)
export(GetActiveWGCNAName)
export(GetAvgModuleExpr)
export(GetDatExpr)
export(GetEnrichrTable)
+8 −0
Original line number Diff line number Diff line
# hdWGCNA 0.2.21 (2023-08-31)
## Added
- Additional checks for wgcna_name in several functions.
- New section to the DME tutorial to show how to run it in a loop for multiple clusters.

## Changes
- None.

# hdWGCNA 0.2.20 (2023-08-17)
## Added
- None.
+6 −0
Original line number Diff line number Diff line
@@ -30,6 +30,9 @@ FindAllDMEs <- function(
){

  if(is.null(wgcna_name)){wgcna_name <- seurat_obj@misc$active_wgcna}
  if(!CheckWGCNAName(seurat_obj, wgcna_name)){
    stop(paste0("Invalid wgcna_name supplied: ", wgcna_name))
  }  

  # get list of groups
  groups <- as.character(unique(seurat_obj@meta.data[[group.by]]))
@@ -124,6 +127,9 @@ FindDMEs <- function(
){

  if(is.null(wgcna_name)){wgcna_name <- seurat_obj@misc$active_wgcna}
  if(!CheckWGCNAName(seurat_obj, wgcna_name)){
    stop(paste0("Invalid wgcna_name supplied: ", wgcna_name))
  }  

  # ensure that selected barcodes are in the seurat obj
  if(!(all(barcodes1 %in% colnames(seurat_obj)))){
Loading