Spaces:
Running
Running
Update PFCdevApp.qmd
Browse files- PFCdevApp.qmd +16 -18
PFCdevApp.qmd
CHANGED
|
@@ -55,7 +55,7 @@ Spatial data
|
|
| 55 |
</p>
|
| 56 |
|
| 57 |
<p style="font-size: 20px; text-align: justify;">
|
| 58 |
-
We collected the whole brain stereo-seq datasets of P1 and Adult mice from [(Han et al., Neuron, 2025)](https://doi.org/10.1016/j.neuron.2025.02.015
|
| 59 |
</p>
|
| 60 |
|
| 61 |
- Spatial Clustering: Select different cell subtypes to view their spatial distribution
|
|
@@ -198,6 +198,21 @@ output$cluster_plot <- renderPlot({
|
|
| 198 |
guides(color = guide_legend(ncol = 1, override.aes = list(size = 3)))
|
| 199 |
})
|
| 200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
output$gene_plot <- renderPlot({
|
| 203 |
if (input$dataset=="Neurons"){
|
|
@@ -221,23 +236,6 @@ output$gene_plot <- renderPlot({
|
|
| 221 |
coord_fixed() &
|
| 222 |
scale_color_gradientn(colours = c("lightblue3", "lightblue", "white", "red", "red4"), limits=c(0,2), breaks=c(0,2), na.value = "red4")
|
| 223 |
})
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
output$vln_plot <- renderPlot({
|
| 227 |
-
if (input$dataset=="Neurons"){
|
| 228 |
-
seu3 <- subset(seu.downsample, cells = colnames(seu.downsample)[seu.downsample$MainType %in% c("Excitatory", "Inhibitory")])
|
| 229 |
-
}else{
|
| 230 |
-
seu3 <- seu.downsample
|
| 231 |
-
}
|
| 232 |
-
seu3@meta.data[,input$celltype] <- factor(
|
| 233 |
-
seu3@meta.data[,input$celltype],
|
| 234 |
-
levels = names(col_cluster[[input$celltype]])
|
| 235 |
-
)
|
| 236 |
-
VlnPlot(seu3, features = input$gene, group.by = input$celltype,
|
| 237 |
-
col = col_cluster[[input$celltype]]) +
|
| 238 |
-
NoLegend() +
|
| 239 |
-
labs(x="")
|
| 240 |
-
})
|
| 241 |
```
|
| 242 |
|
| 243 |
|
|
|
|
| 55 |
</p>
|
| 56 |
|
| 57 |
<p style="font-size: 20px; text-align: justify;">
|
| 58 |
+
We collected the whole brain stereo-seq datasets of P1 and Adult mice from [(Han et al., Neuron, 2025)](https://doi.org/10.1016/j.neuron.2025.02.015, extracted and analyzed the PFC brain region. Users can browse the following content through the spatial page:
|
| 59 |
</p>
|
| 60 |
|
| 61 |
- Spatial Clustering: Select different cell subtypes to view their spatial distribution
|
|
|
|
| 198 |
guides(color = guide_legend(ncol = 1, override.aes = list(size = 3)))
|
| 199 |
})
|
| 200 |
|
| 201 |
+
output$vln_plot <- renderPlot({
|
| 202 |
+
if (input$dataset=="Neurons"){
|
| 203 |
+
seu3 <- subset(seu.downsample, cells = colnames(seu.downsample)[seu.downsample$MainType %in% c("Excitatory", "Inhibitory")])
|
| 204 |
+
}else{
|
| 205 |
+
seu3 <- seu.downsample
|
| 206 |
+
}
|
| 207 |
+
seu3@meta.data[,input$celltype] <- factor(
|
| 208 |
+
seu3@meta.data[,input$celltype],
|
| 209 |
+
levels = names(col_cluster[[input$celltype]])
|
| 210 |
+
)
|
| 211 |
+
VlnPlot(seu3, features = input$gene, group.by = input$celltype,
|
| 212 |
+
col = col_cluster[[input$celltype]]) +
|
| 213 |
+
NoLegend() +
|
| 214 |
+
labs(x="")
|
| 215 |
+
})
|
| 216 |
|
| 217 |
output$gene_plot <- renderPlot({
|
| 218 |
if (input$dataset=="Neurons"){
|
|
|
|
| 236 |
coord_fixed() &
|
| 237 |
scale_color_gradientn(colours = c("lightblue3", "lightblue", "white", "red", "red4"), limits=c(0,2), breaks=c(0,2), na.value = "red4")
|
| 238 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
```
|
| 240 |
|
| 241 |
|