TigerZheng commited on
Commit
4aad7a1
·
verified ·
1 Parent(s): 1f99804

Update PFCapp.qmd

Browse files
Files changed (1) hide show
  1. 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
- DimPlot_scCustom(
100
- seurat_object = Adult.Ex,
101
  reduction = 'umap',
102
  group.by = input$cluster,
103
- colors_use = col_cluster[[input$cluster]],
104
  label = T
105
  ) +
106
  coord_fixed()
107
  })
108
 
109
  output$gene_plot <- renderPlot({
110
- FeaturePlot_scCustom(
111
- seurat_object = Adult.Ex,
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
  })