MEDomicsLab-docs
V1
V1
  • 👋Welcome!
  • 👊Quick start
  • 👀Overview
  • 🏫Tutorials
    • 🔵Design
      • Extraction Module
        • Image Extraction Page
        • Text Extraction Page
        • Time Series Extraction Page
        • MEDimage
      • Input Module
        • Feature Reduction Tool
        • MEDprofiles
          • MEDprofiles Viewer
      • Exploratory Module
    • 🟠Development
      • Learning Module
      • Evaluation Module
    • 🟢Deployment
      • Application Module
  • 🆕New features
  • Upcoming features
  • 💻Contributing
    • Our coding standards
    • How to push my modification ?
  • 🤕Troubleshooting
  • ❓FAQ
  • 🤓About us
  • Important Links
    • Official Website
    • 📔Release Notes
    • 🥲Known Issues
    • 😎Project Board
    • 🧬Physionet
  • MEDIA
    • ⚛️MEDomics
    • 👾Discord
    • 😺Github
    • 📺YouTube
  • Forms
    • 🗣️Contact us
    • 📝Report an issue
Powered by GitBook
On this page
  • 🖊️Code Editor
  • 👁️Views
Edit on GitHub

New features

Explore the documentation for the latest features introduced in the V1 release.

PreviousApplication ModuleNextUpcoming features

Last updated 2 months ago

🖊️Code Editor

Starting from v1.5.0, MEDomicsLab introduces an integrated code editor, allowing users to seamlessly edit Python, text, Markdown, and JSON files directly within the platform. Built on the , the editor offers a variety of themes and robust support for multiple file types. To get started, simply double-click any supported file in your workspace—it will open automatically in the editor, where you can make modifications and save your changes. Below are some screenshots showcasing the new editor in action:

👁️Views

What is a View in MongoDB?

A view in MongoDB is essentially a query that’s saved and accessible like a collection, but without actually storing any data. Views are read-only, which means you cannot modify data directly in a view. They are generated using aggregation pipelines, which transform and filter the underlying data from one or more source collections.

How Views Work

A MongoDB view is defined by an aggregation pipeline, which can be a series of stages to filter, group, sort, or transform documents from the source collection(s). When you query a view, MongoDB applies the defined aggregation stages to the source data on-the-fly, creating a "virtual" collection that shows the result of the pipeline.

MongoDB Views in MEDomicsLab

In MEDomicsLab, views primarily help prevent the creation of redundant dataset copies by enabling flexible data representation and access.

  1. They allow for simplified representations of complex data. For instance, you might have a large, detailed collection with multiple fields, but you create a view that only exposes the fields most relevant to certain users or applications.

  2. Views also facilitate direct access to processed data, supporting analytics like features extraction, models training, and other computed insights, making it easier for the each module to access the processed data directly.

Example Use Case

In MEDomicsLab, MongoDB Views are utilized to provide previews of datasets following a particular process, such as removing a column.

In this example:

once the delete "Text" column button is pressed, a preview panel appears, offering options to confirm, cancel, or save the changes as a view. Selecting "confirm changes" will apply the changes directly to the original dataset (i.e. will delete the "Text" column):

while choosing "save as view" will create a new MongoDB View, preserving the changes in a separate collection. This new view will then appear in your workspace, allowing you to interact with the modified dataset without affecting the original:

MongoDB views provide flexibility in how you present and control access to data, allowing you to tailor data views to the needs of different users without modifying the original collections.

In are virtual collections created using , which allow you to transform and present data without physically storing it as a new collection.

🆕
MongoDB, views
aggregation pipelines
react-ace package
Code Editor: how to open?
Code Editor Breakdown
Code Editor Example
Delete "Text" column clicked
Delete "Text" column preview
Opening a saved view