Analyzing Data with the HPC Cluster
Now that we have a complete data set, we can analyze our data on the HPC Cluster. Let’s take look at how you can do that!
Practice Analyzing Data on the HPC Cluster
Now that we have all of the data, we will run an analysis script.
Identify subjects between 1 and 10 whose data should be excluded from the analysis
Return to File Explorer (you should be in the
/project/3010000.05/XXXXXXX.XX/raw/directory)
Begin an RStudio session
Click on
Applicationsand selectTerminal Emulatorin the dropdown menuType
rstudioand push enterPush
OKto take the default versions of R and RStudioPush
OKto take the default time and memory specifications for your job
Edit your Analysis File
Push Control and o together once RStudio has loaded
Double-click
projecton the left panelType
3010000.05and push enterDouble-click
scriptsDouble-click on the
analysis.Rfile you uploadedAt the top of the script, change the
outfilevariable to/project/3010000.05/XXXXXXX.XX/results
Select the entire document and push control and enter together to run the script
Save the workspace
Navigate to the
Environmenttab at the bottom right once the script has finished runningClick the blue square in the
Environmenttab to save the workspace as, and save the workspace asRDM_Workshop_Analysisin the/project/3010000.05/XXXXXXX.XX/resultsfolder
Disconnect
To read more about how to run analyses on the HPC Cluster and to get more practice, visit these pages on the HPC wiki.