Skip to content

Commit

Permalink
Update ggplot2.R
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Sep 18, 2024
1 parent 13b2d8c commit 0c9e584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ggplot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ banc_neuron_comparison_plot <- function(neuron1 = NULL,

# Create the plot
p <- ggplot2::ggplot() +
geom_neuron(x = mesh, rotation_matrix = rotation_matrix, alpha = 0.05, cols = c("grey90", "grey50")) +
geom_neuron(x = volume, rotation_matrix = rotation_matrix, alpha = 0.05, cols = c("grey30")) +
geom_neuron(x = mesh, rotation_matrix = rotation_matrix, alpha = 0.05, cols = c("grey90", "grey60")) +
geom_neuron(x = volume, rotation_matrix = rotation_matrix, alpha = 0.05, cols = c("grey50")) +
geom_neuron(x=neuron_pruned1, rotation_matrix = rotation_matrix, cols = cols1, alpha = alpha[1], linewidth = 0.3) +
geom_neuron(x=neuron_pruned2, rotation_matrix = rotation_matrix, cols = cols2, alpha = alpha[2], linewidth = 0.3) +
geom_neuron(x=neuron_pruned3, rotation_matrix = rotation_matrix, cols = cols3, alpha = alpha[3], linewidth = 0.3) +
Expand Down

0 comments on commit 0c9e584

Please sign in to comment.