Skip to content

Commit

Permalink
fixed bug in complete_forceatlas2, closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
pfgherardini committed Mar 13, 2019
1 parent 566e609 commit 33cecc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: vite
Type: Package
Title: Analyzing single-cell data using graphs
Version: 0.4.5
Version: 0.4.6
Authors@R: "Pier Federico Gherardini <pfgherardini@parkerici.org> [aut, cre]"
Description: This is a package for visualization and analysis of high-dimensional
single-cell data using graphs
Expand Down
2 changes: 1 addition & 1 deletion R/forceatlas2.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ complete_forceatlas2 <- function(G, first.iter = 1000, overlap.method = NULL, ov
G <- igraph::set.vertex.attribute(G, name = "y", value = lay[, 2])
}
}
else if(overlap_method == "expand")
else if(overlap.method == "expand")
G <- adaptive_expand(G, overlap.iter)
}
return(G)
Expand Down

0 comments on commit 33cecc0

Please sign in to comment.