Optimization of threshold parameters for GFA replicates
The example script "run_optmThrGFA.R" was created so that you can get the package optmThrGFA up and running quickly and painlessly! Please keep in mind that you can make edits to the code in this script for your own project as you see fit. Please read through the comments for various tips and suggestions.
Open the terminal and cd to the directory where you would like to save the example files. Then execute the command
svn export https://github.com/kforthman/optmThrGFA/trunk/Example
data <- read.csv("mydata.csv")
data.df <- as.data.frame(data)
MYdf <- data.df[!(names(data.df) %in% c("ID", "session"))]
save(MYdf, file = "mydata.RData")
It is highly recommended that you run this script on submit0. It will run much faster and not take up resources on your local computer. The files 'run_R.Rscript', 'run_run_R.ssub', and 'xvfb-run-safe' are provided in this example for running this script on the server. To run the job,
Start submit0 by executing the command
ssh submit0
Type in your password. 3. cd into the directory where this script is located.
cd /your/project/directory
Run the job.
sbatch < run_run_R.ssub
Pro tip: you can monitor progress in the terminal using the command
watch tail out.log -n 50
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.