Displaying 1 result from an estimated 1 matches for "cfhlc_format_files_rm_07052010".
2010 May 17
0
Unable to execute lm function within a Rscript launch in the Linux Terminal
...he list
I'm using a Rscript launched via the linux terminal as the title of this
mail explains. The following is the code of the Rscript :
myRscript.r
--------------------------------
1 #!/usr/bin/Rscript
2
3 #Read data
4
data=read.table("/home/morisseau/stage/recherche/gwas/data/CFHLC5/CFHLC_format_files_rm_07052010/output/windowstemp.txt")
5
6 data=t(data)
7
phen=read.table("/home/morisseau/stage/recherche/gwas/data/CFHLC/CFHLC_format_files_rm_07052010/input/Admixmap_simphen_simu1_causalsnp61.txt")
8 phen=phen[-1]
9 phen=t(phen)
10 val=c(1,2)
11 for (i in 1:dim(data)[2]){
12 val[1]=data[,i][3]...