Skip to main content

Modules

Modules are the graphs/charts that make up a layout. You can customize each module, determining what data is shown, what subject populations to compare, and what module type you'll use to visualize your data. By default, all subjects will be displayed in the modules in your layout. You can also choose to see the graphs reflect data from a selection of subjects, or a cohort.

There is no limit to how many modules you can have in a layout, though some graphs take more time to load.

Modules

The types of modules available for your dashboard include:

tip

It is important to note that your data will not automatically save. It is good practice to save your work often by clicking the Save Changes icon , found in the blue header in the Edit Layout toolbar.

Module Tools

While in Edit Layout mode, you can access tools and handles that will allow you to adjust each module. These tools include the ability to:

  • Copy the module to the current layout or to a different layout
  • Show the module in full screen
  • Edit the module parameters
  • Remove the module
  • Move where the module is located in the layout
  • Resize the module

Module Handles

Move a Module

Each module has a series of dots at the top that acts as a handle.

  1. Go into Edit Layout mode by clicking the Edit Layout icon in the blue header.
  2. Click and hold the handle to drag and drop your module anywhere in your layout.
  3. Click Save Changes icon in the blue header to save your changes.

Resize a Module

Each module has a resizing handle (a triangle of dots) in the bottom right corner, allowing you to adjust the size of your module.

  1. Be sure you are in Edit Layout mode by clicking the Edit Layout icon in the blue header.
  2. Click and hold the resizing handle as you stretch or shrink the module to the desired size.
  3. Click Save Changes icon in the blue header to save your changes.

Module Tools

When in Edit Layout mode (by clicking the Edit Layout icon in the blue header), you can see four tools at the top of each module.

Module edit tools

These tools include:

  • Copy will copy the layout to:
    • the current layout (you can then modify module settings if you wish).
    • a different layout (if this is selected the current layout will be saved) - clicking this opens a dropdown menu where you can select which layout within your project you wish to copy the module to. Click Accept. A copy of that module has now been placed in the designated layout.
  • Open module in a full screen window (once open, click the "x" to exit the view).
  • Edit - Allows you to perform edits on the existing module:
    1. In the module you wish to edit, click the Edit Module icon in the top right corner of the module.
    2. Adjust the module settings in the window that opens (options available vary based on module).
    3. Click Preview at the bottom of the module settings window to open a preview window.
    4. If everything looks correct, click Apply to build your chart in the layout.
    5. Click the save changes icon in the blue header to save your changes.
  • Delete module:
    1. Click the in the top right corner of the module you want to remove.
    2. Click save changes icon in the blue header to save your changes.

Graph Viewing Tools

Each Graph has an icon at the top right of the module allowing you to make the graph full screen.

Plotly graphs in the PHC have a mode bar of tools to improve the ease of viewing the displayed data (shown below).

Plotly

Mode bar graph tools include (numbers reference the icons in above image):

  1. Download plot as a PNG
  2. Zoom - Zooming can be performed vertically and horizontally. If graphs are stacked, only the one you zoomed in will change. When graphs are layered, all will zoom in. Double clicking within the part you zoomed will reset the vertical
  3. Pan - lets you grab and drag the plot to change the date range seen
  4. Box Select - allows you to select multiple points
    1. Click and drag your cursor to select your data points within the box
    2. Click View Data - a window opens with info for the selected data points.
  5. Lasso Select - allows you to select multiple points
    1. Click and drag your cursor to select your data points within the box
    2. Click View Data - a window opens with info for the selected data points.
  6. Zoom in - lets you zoom in
  7. Zoom out - lets you zoom out
  8. Reset axes - lets up zoom to include your Axes Range, if this has been set. If it has not been set it zooms to a setting that shows all the viewable data.
  9. Toggle spike lines – when you hover, this drops a dotted line to the x and y axis to see where it lands
  10. Show closest data on hover – shows the one data point you are closest to
  11. Compare data on hover – shows all data points when you hover, if you toggle that off you’ll see the single data point that you are closest to

View Data

On each of the graphs, you can click the View Data button in the bottom left of the module. This opens a new window displaying the data in table form. The columns of data displayed can be selected on the subject search table configuration page.

View Data Here you can:

  • Open this window in full screen by clicking

  • Access Cohort actions using all or a selection of the subjects viewed:

    1. Select Subjects you wish to add to or remove from the cohort
    2. Click on the Cohort dropdown button on the top right of the table
    3. Select from:
      • Create Cohort (makes a new cohort)
      • Add to a Cohort (adds to an existing cohort)
      • Remove from a Cohort (removes the selected subjects from a cohort)
    4. Continue selecting the parameters for your action
    5. Click Update or Create depending on the action chosen
  • Export the data displayed (clicking Export opens a new window where you can select masked or unmasked data export)

  • Access other tabs of PHC - hover cursor on a line to access:

    • Opens Subject Viewer for this subject in a new tab
    • Opens Omics Explorer for this subject in current tab
    • Opens Subject Viewer in current tab to view more details

Module Parameters

Module parameters available differ depending on which module is selected and what is being graphed.

Modules have a default label that is assigned to the x and y axis, but are often not very descriptive. These labels can be customized to better describe what is displayed in the chart.

Customize x and y labels:

  1. Go into Edit Layout mode by clicking the Edit Layout icon in the blue header.
  2. Click the Edit icon in the top right corner of the module.
  3. Under the General tab of the module, navigate to the X and/or Y axis values.
  4. Add the text for the label you wish to be displayed for that axis.
  5. Click Apply to build your chart in the layout.
  6. When you are satisfied with your chart, click the Save Changes icon in the blue header to save your changes.

If you remove the label, it will revert back to the default label.

Remove Module

To remove a module from your layout:

  1. Be sure you are in [Edit Layout](/user-guides/insights/#edit-layout mode by clicking the Edit Layout icon in the blue header.
  2. Click the in the top right corner of the module you want to remove.
  3. Click Save Changes icon in the blue header to save your changes.