-
Notifications
You must be signed in to change notification settings - Fork 1
Interface to R
Users can execute their own R scripts using MOG. This allows access to numerous statistical libraries which R has. The user need to write their R scripts to use data from MOG. MOG provides a convenient way for users to select relevant features and samples and forward this data to an R script. The R script makes use of this API and uses the input data to perform the computations or visualizations. The R path can be set via MOG properties. See Section 12.2.
This section explains how to write an R script to be executed with MOG. To execute an R script from MOG, the R script should take following arguments:
- The first argument is that the path to the "data file" which is generated by MOG and stored in the project's directory. This file is a tab-delimited file. The file contains feature as rows and samples as columns.
- The second argument is the path to the "metadata file" which is the metadata file used in the MOG project.
- The third argument is the path to the output directory. When executing an R script, MOG asks an output directory name which is created under the project directory. Using this path all output from R could be saved under this directory. Example scripts are available at: https://github.com/urmi-21/MetaOmGraph/tree/master/rscripts
2. THE BASICS: Downloading and Using MOG
5. Sort, subset, transform, analyze, and reorder the Data
8. Differential Expression Analysis
12. Change Project Properties and MOG Properties
2.3 Download a pre-compiled project
2.5 Run MetaOmGraph by providing more memory(RAM)
5.1 Choosing the Replicate Column
5.5 Search or Filter Sample MetaData
6.1 Correlation Between Features
6.3 Correlation Betweeen Samples
7.2 Line Charts with Averaged Replicates
8.1 Differential Expression Analysis Window
8.2 Differential Expression Results Window
9.1 Principal component analysis (PCA)