Here we will describe the use of the o²S²PARC platform to create a simple 2-dimensional plot. You will see that the interface is interactive and may show you data in new ways! To demonstrate this feature, we will be using gene expression data from the group of Leah Reznikov at the University of Florida.
As a quick overview of the data set, the experiment was set up such that male and female neonatal piglets were exposed to either Acid (test) or saline (control) after which gene expression was measured in the epithelial tissue (EP), vagal ganglia (VG) or the nucleus tractus solitarii (NT) which are cardiopulmonary vagal afferents.
Please note that the main purpose of this example is to illustrate how to generate 2D visualizations in the RawGraph viewer. The visualization itself might not be particularly meaningful for the gene expression data we are using in this example.
To begin, open the o²S²PARC platform in your browser by going to https://osparc.io/ and log in. This will then take you to your Dashboard. From the Dashboard click on the Templates tab on the top menu to see Template Studies available to you and then click on the [ISAN] 2D plot Template card. This will automatically create a new Study with a File Picker and a 2D Plot Service for you and bring you to the Study's Workbench.
The default view of the Workbench will be in the expanded 2D Plot GUI. To access the other Workbench options such as inspecting Service inputs and outputs or changing the Pipeline, first minimize the 2D Plot Window by clicking on the minimize button on the upper right hand corner of the Workbench.
For now, we will focus on the the 2D Plot GUI and so you may again maximize the screen for a larger working area.
- To load data from the File Picker into the 2D Plot Service, choose the
oSPARC Inputs
option in the 2D Plot GUI under "Load your data". - Scrolling to the bottom of the 2D Plot Interactive View, you will see options for plotting with Rawgraph and various data inputs for plots. Select
o²S²PARC inputs
. - Selecting input_1:RNAdat.csv should load the data into the GUI. You are now ready to make your own 2D plot!
Now that your data are loaded, you can choose from a variety of plot types. We will first try the Sunburst plot. Click on this option and scrolling down will show additional options for constructing the plot: Map your Dimensions.
The variables are as follows:
- Sequence: gene expression for a particular gene
- genes: the name of the gene
- locsallvec: Type of tissue where sequencing was done. EP for epithelial tissue, VG for vagal ganglia or the NT for nucleus tractus solitarii.
- subjallvec: ID of the subject in the conditional groups. (1, 2, or 3)
- gendersallvec: M or F for male and female piglets, respectively,
- condsallvec: Experimental condition ACID for acid exposure and CONT for control or saline exposure.
To start, we will drag the Sequence variable into the Size field. This defines that space around the circle will be defined by the level of expression of a particular gene. To label the genes, click and drag Gene ID into the Hierarchy field. Scrolling down you should already have a circular plot showing relative gene expression. Congratulations! Now on to the fun stuff.
To separate genes by color, click and drag the variable genes into the Color field. The Hierarchy field accepts multiple inputs for subgrouping data. You can now try subgrouping by experimental condition by dragging condsallvec under genes in the Hierarchy field. This will create a new layer in the circle plot.
You should now have a plot that looks like the following:
Feel free to display different variables and explore the data with other plot types in RAW Graphs!