Spaces:
Sleeping
Sleeping
Update PFCapp.qmd
Browse files- PFCapp.qmd +6 -6
PFCapp.qmd
CHANGED
@@ -59,7 +59,7 @@ Spatial data
|
|
59 |
#| message: false
|
60 |
|
61 |
library(ggplot2)
|
62 |
-
library(scCustomize)
|
63 |
library(shiny)
|
64 |
library(rgl)
|
65 |
#library(wholebrain)
|
@@ -96,19 +96,19 @@ plotOutput('gene_plot')
|
|
96 |
#| context: server
|
97 |
|
98 |
output$cluster_plot <- renderPlot({
|
99 |
-
|
100 |
-
|
101 |
reduction = 'umap',
|
102 |
group.by = input$cluster,
|
103 |
-
|
104 |
label = T
|
105 |
) +
|
106 |
coord_fixed()
|
107 |
})
|
108 |
|
109 |
output$gene_plot <- renderPlot({
|
110 |
-
|
111 |
-
|
112 |
features = input$gene) +
|
113 |
coord_fixed()
|
114 |
})
|
|
|
59 |
#| message: false
|
60 |
|
61 |
library(ggplot2)
|
62 |
+
#library(scCustomize)
|
63 |
library(shiny)
|
64 |
library(rgl)
|
65 |
#library(wholebrain)
|
|
|
96 |
#| context: server
|
97 |
|
98 |
output$cluster_plot <- renderPlot({
|
99 |
+
DimPlot(
|
100 |
+
Adult.Ex,
|
101 |
reduction = 'umap',
|
102 |
group.by = input$cluster,
|
103 |
+
cols = col_cluster[[input$cluster]],
|
104 |
label = T
|
105 |
) +
|
106 |
coord_fixed()
|
107 |
})
|
108 |
|
109 |
output$gene_plot <- renderPlot({
|
110 |
+
FeaturePlot(
|
111 |
+
Adult.Ex,
|
112 |
features = input$gene) +
|
113 |
coord_fixed()
|
114 |
})
|