Integrated Jupyter Notebook Tool
1. Open the notebook
Last updated
1. Open the notebook
Last updated
The user has the flexibility to either download the raw data from the experiment page and analyze it with the tools of their choice or use the integrated Jupyter Notebook, which is equipped with both Python and R kernels.
The notebook page can be opened from the menu under the user icon.
Working with the Data
After the notebook is open, the user will see the standard Jupyter Notebook environment. To load the data, the user needs to import the ldm
class in the first cell and use the method get_experiment_measurements
, providing the experiment name and the name of the measurement (the name of the measurement can be defined during the M1000 import. If none is defined, the default name "Label1" is used). Optionally, the user can load normalized and log-transformed values as well.
We recommend using the code shown in the screenshot in the first cell (adapting the variable names for your project).
The object raw_data
, which is returned by the method get_experiment_measurements
, is a pandas DataFrame that can be used as usual for further analysis.
Switch to R
To continue the analysis in R, the user needs to mark the cells with %%R
at the very beginning of the cell. To transform the objects loaded previously into an R data frame, use the flag -i
as shown in the next picture.
After this, you can use the DataFrame raw_data
as you would usually do in R. In consecutive cells, you only need to mark them with %%R
at the very beginning.