Skip to content

Commit

Permalink
check updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hpliner committed Jun 11, 2019
1 parent c00877e commit ac6aefb
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Imports:
dplyr (>= 0.8.0.1),
ggplot2 (>= 3.1.1),
ggrepel (>= 0.8.1),
grr,
htmlwidgets (>= 1.3),
igraph (>= 1.2.4),
irlba (>= 2.3.3),
Expand All @@ -67,6 +68,7 @@ Imports:
RhpcBLASctl,
Rtsne (>= 0.15),
S4Vectors,
shiny,
slam (>= 0.1-45),
spdep (>= 1.1-2),
speedglm (>= 0.3-2),
Expand All @@ -78,6 +80,7 @@ Imports:
viridis (>= 0.5.1)
Suggests:
testthat (>= 2.1.0),
ggrastr,
knitr,
rmarkdown,
spelling
Expand Down
14 changes: 7 additions & 7 deletions R/cluster_cells.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ cluster_cells <- function(cds,
#' the implementation, it also scales well, and can be run on graphs of
#' millions of nodes (as long as they can fit in memory). The core function is
#' find_partition which finds the optimal partition using the Louvain algorithm
#' [1] for a number of different methods. The methods currently implemented are
#' (1) modularity [2], (2) Reichardt and Bornholdt's model using the
#' configuration null model and the Erdös-Rényi null model [3], (3) the
#' constant Potts model (CPM) [4], (4) Significance [5], and finally (5)
#' Surprise [6]. In addition, it supports multiplex partition optimization
#' allowing community detection on for example negative links [7] or multiple
#' time slices [8]. It also provides some support for community detection on
#' for a number of different methods. The methods currently implemented are
#' (1) modularity, (2) Reichardt and Bornholdt's model using the
#' configuration null model and the Erdös-Rényi null model, (3) the
#' constant Potts model (CPM), (4) Significance, and finally (5)
#' Surprise. In addition, it supports multiplex partition optimization
#' allowing community detection on for example negative links or multiple
#' time slices. It also provides some support for community detection on
#' bipartite graphs. See the documentation for more information." Please see
#' the github above for the citations. Right now we only support
#' CPMVertexPartition, RBConfigurationVertexPartition, RBERVertexPartition,
Expand Down
2 changes: 1 addition & 1 deletion R/order_cells.R
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ select_trajectory_roots <- function(cds, x=1, y=2, # nocov start
y = source_prin_graph_dim_2,
yend = target_prin_graph_dim_2)) +
labs(x="Component 1", y="Component 2") +
monocle3:::monocle_theme_opts()
monocle_theme_opts()
}, height = function() {
session$clientData$output_plot1_width
})
Expand Down
2 changes: 1 addition & 1 deletion R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ plot_genes_by_group <- function(cds,
g <- g + xlab(group_cells_by)
}

g <- g + ylab("Gene") + monocle3:::monocle_theme_opts() +
g <- g + ylab("Gene") + monocle_theme_opts() +
theme(axis.text.x = element_text(angle = 30, hjust = 1))
if(axis_order == 'marker_group') {
g <- g + coord_flip()
Expand Down
2 changes: 1 addition & 1 deletion R/select_cells.R
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ plot_principal_graph <- function(data_df,
}

g <- g +
monocle3:::monocle_theme_opts() +
monocle_theme_opts() +
xlab(paste(reduction_method, 1)) +
ylab(paste(reduction_method, 2)) +
theme(legend.key = element_blank()) +
Expand Down
14 changes: 7 additions & 7 deletions man/louvain_R.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac6aefb

Please sign in to comment.