Spaces:
Sleeping
Sleeping
Update PFCdevApp.qmd
Browse files- PFCdevApp.qmd +7 -0
PFCdevApp.qmd
CHANGED
|
@@ -61,6 +61,8 @@ We collected the whole brain stereo-seq datasets of P1 and Adult mice from [(Han
|
|
| 61 |
|
| 62 |
|
| 63 |
|
|
|
|
|
|
|
| 64 |
, extracted and analyzed the PFC brain region. Users can browse the following content through the spatial page:
|
| 65 |
</p>
|
| 66 |
|
|
@@ -339,6 +341,11 @@ plotOutput('p77_geneplot')
|
|
| 339 |
|
| 340 |
output$p77_geneplot <- renderPlot({
|
| 341 |
gene_i <- input$sp_gene
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
data <- data.frame(
|
| 343 |
x = sp_p77$x_rotated, y = sp_p77$y_rotated,
|
| 344 |
gene = scale(sp_p77@assays$RNA$counts[gene_i,])
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
, extracted and analyzed the PFC brain region. Users can browse the following content through the spatial page:
|
| 67 |
</p>
|
| 68 |
|
|
|
|
| 341 |
|
| 342 |
output$p77_geneplot <- renderPlot({
|
| 343 |
gene_i <- input$sp_gene
|
| 344 |
+
gene_i_exp <- as.numeric(FetchData(object = sp_p77, vars = gene_i, slot = "counts"))
|
| 345 |
+
data <- data.frame(
|
| 346 |
+
x = sp_p77$x_rotated, y = sp_p77$y_rotated,
|
| 347 |
+
gene = scale(gene_i_exp)
|
| 348 |
+
)
|
| 349 |
data <- data.frame(
|
| 350 |
x = sp_p77$x_rotated, y = sp_p77$y_rotated,
|
| 351 |
gene = scale(sp_p77@assays$RNA$counts[gene_i,])
|