How vandydata/scgenepanel works
Main Components
a. Core Package Components:
• Data Input Handler
• Visualization Modules
• Shiny Application
• Utility Functions
b. External Dependencies:
• Seurat Integration
• SingleCellExperiment Integration
┌─ Input Layer ─────┐ ┌─ Processing Layer ──┐ ┌─ Visualization Layer ─┐
• Seurat Objects │ -> │ - Data Validation │ -> │ - UMAP Panel │
• SingleCellExp. │ │ - Data Transform. │ │ - Violin Panel │
• ┬─┘ └──────────────────┬──┘ │ - Cell Freq. Panel │
• ┘
• ↑
• ┌─ Shiny Interface ────┐
• ┴───────>│ - Interactive UI │
• Real-time Updates │
• ┘
Component Details
a. Data Components (Rectangles, Blue):
• Input data objects
• Processed data structures
b. Processing Modules (Hexagons, Green):
• Data validation functions
• Data transformation logic
c. Visualization Components (Rounded Rectangles, Orange):
• UMAP visualization
• Violin plot generation
• Cell frequency tabulation
d. Interactive Layer (Double Rectangle, Purple):
• Shiny application interface
• User input handling
• Dynamic plot updates
Flow Indicators
• Data flow direction
• Component dependencies
Important Implementation Details to Highlight
a. File Organization:
• Relationship between R/ directory components
• Inst/shiny integration
• Test coverage flow
b. Key Functions:
• create_gene_panel()
• cellfreq_panel()
• umap_panel()
• violin_panel()