Comments (4)
It makes sense to me. It'd be easier as we move forward and add more features. Going to give it a try with the longitudinal tab
from pathostat.
Here is a great barebones example of how one would modularize the code base.
https://github.com/daattali/advanced-shiny/tree/master/split-code
I think this project would benefit from this solution as the codebase is quite large. Some of the UI views are already modularized so maybe the best focus would be on making the server.R file modular (It's 2400 lines of code).
For example, each tab in the web-application would have a specific ui/server file.
ui_upload.R
server_upload.R
And so on for each tab...
Just a suggestion though, I know a big change like this takes considerable effort, but I would be willing to help! I'm sure it will benefit the project in terms of longevity.
from pathostat.
I already began to modularize the code, it just never made it into master. See the diversity module branch.
I'd suggest putting both the UI and server functions into the same file, and call the functions uploadModule
and uploadModuleUI
.
from pathostat.
Ah nice, looks good. What else needs to be done to merge? is the testing going smoothly?
Edit: I see, it's far behind the master.
from pathostat.
Related Issues (16)
- BatchQC dependency HOT 1
- Check that cached taxonomy matches with loaded reports HOT 1
- Load phyloseq object into shiny server (temporary) HOT 2
- Implement core microbiome 2D plot
- Implement core microbiome heatmap
- Remove dependency on "microbiome" HOT 5
- OTU filtering HOT 5
- Improve formatting of taxonomy table
- Taxonomy table data structure HOT 1
- Implement temporal analysis and visualization tab HOT 1
- Shini not working HOT 1
- Accommodate phyloseq-class objects throughout HOT 1
- Coerce input data into phyloseq-class objects
- Distinguish between discrete and continuous variables HOT 1
- Create color scheme that can be used across modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathostat.