Commit 97950a2c authored by smorabit's avatar smorabit
Browse files

bugfix in ReassignModules

parent b75f726e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Package: hdWGCNA
Title: hdWGCNA
Version: 0.2.12
Version: 0.2.13
Authors@R: c(
    person("Sam", "Morabito", , "smorabit@uci.edu", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-7768-4856")),
+7 −0
Original line number Diff line number Diff line
# hdWGCNA 0.2.13 (2023-02-13)
## Added
- None

## Changes
- Fixed a bug in `ReassignModules` that cause some modules assignments to be NA for some genes.

# hdWGCNA 0.2.12 (2023-02-04)
## Added
- Module eigengene dynamics with pseudotime tutorial
+2 −2
Original line number Diff line number Diff line
@@ -116,11 +116,11 @@ ReassignModules <- function(
    reassigned <- factor(as.character(reassigned), levels=levels(modules$module))

    # new colors:
    reassigned_colors <- factor(as.character(mod_cp[as.character(reassigned)]), levels=levels(modules$color))
    reassigned_colors <- as.character(mod_cp[as.character(reassigned)])

    # reassign modules and colors
    modules[neg_df$gene_name,'module'] <- reassigned
    modules[neg_df$gene_name,'module'] <- reassigned_colors
    modules[neg_df$gene_name,'color'] <- reassigned_colors

  }

+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
      </button>
      <span class="navbar-brand">
        <a class="navbar-link" href="https://smorabit.github.io/hdWGCNA/index.html">hdWGCNA</a>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="">0.2.12</span>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="">0.2.13</span>
      </span>
    </div>

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
      </button>
      <span class="navbar-brand">
        <a class="navbar-link" href="index.html">hdWGCNA</a>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="">0.2.12</span>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="">0.2.13</span>
      </span>
    </div>

Loading