- Give the name of the data file to the variable named option.(option = "FEMALE.txt" in sample codes)
- Specify the number of rows contained in the data file.(apoE<-read.table(option,nrows = 1000) in sample codes,change 1000 to the number of rows in your data file)
The data matrix after data cleaning should be a matrix whose column names are gene names and each row represents for observations of one individual over all different genes.(apoE_mat_num in sample codes)
- You can change the desired p-value for your needs.(result <- result[result$p<0.1,] in sample codes, you may change 0.1 to another value)
- Change the name of your output.(save(result,file = "2_apoE_FEMALE_bicorr.Rdata") in sample codes)
- Make a separate directory called bicor/
- Make a separate directory called node_files/ inside the bicor/ directory
- Transfer data file and R file into node_files/ directory
- Edit the bicor.sh file: in the last line change the name of the bicorrelation script to the correct file
- Copy R.tar.gz from cluster into the bicor/ directory
- Run the command condor_submit bicor.sub