Skip to content

Commit

Permalink
Merge branch 'R-devel' into R-release
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianpineda committed Jun 27, 2020
2 parents 261fccd + b04e803 commit 224c70c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ reconstruct.ACTIONet <- function(ace, network_density = 1, mutual_edges_only = T


# Layout ACTIONet
initial.coordinates = t(scale(ACTIONet::colMaps(ace)[[reduction_slot]]))
initial.coordinates = t(scale(t(ACTIONet::colMaps(ace)[[reduction_slot]])))
if (layout.in.parallel == FALSE) {
vis.out = layout_ACTIONet(G, S_r = initial.coordinates, compactness_level = layout_compactness,
n_epochs = layout_epochs, thread_no = 1)
Expand Down Expand Up @@ -223,8 +223,8 @@ reconstruct.ACTIONet <- function(ace, network_density = 1, mutual_edges_only = T
#' ace.updated = rerun.layout(ace, layout_compactness = 20)
#' plot.ACTIONet(ace.updated)
rerun.layout <- function(ace, layout_compactness = 50, layout_epochs = 500, thread_no = 1,
reduction_slot = "ACTION2D") {
G = colNets(ace)[["ACTIONet"]]
reduction_slot = "ACTIONet3D", net_slot = "ACTIONet") {
G = colNets(ace)[[net_slot]]

# re-Layout ACTIONet
S_r = ACTIONet::colMaps(ace)[[reduction_slot]]
Expand Down
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* Python porting and testing
* Write, test, and release docker-lite and docker-full - also install Rstudio Servver/Jupyter. 1- Minimal (Alpine)
* Write, test, and release singularity-lite and singularity-full
* Fixing rowMaps/colMaps
* "gating" on archetypes
* Interactive cell selection

Expand Down

0 comments on commit 224c70c

Please sign in to comment.