[R] How to execute R code

Prateek Singh prateek.vit at gmail.com
Fri Jan 25 18:20:48 CET 2008


Hi,

I have 'R' code in file. saved it as exmaple.r
here is the code.......

library("hopach")
GSE <- read.table("gene_expression_data",sep="\t",header=TRUE,row.names=TRUE)
gene.dist <- distancematrix(t(GSE),d="euclid")
gene.hobj <- hopach(t(GSE), dmat=gene.dist, mss="med")
labelstosil(gene.hobj$cluster$label,gene.dist)


I dont know how to run it on linux terminal. Can you tell me how to
execute this file. I am using Debian linux.

Regards,
Praeek Singh

-- 
Prateek Singh
Final year Bioinformatics(BTech)
Vellore Institute Of Technology
Vellore-632014
ph.no. 09952187800
prateek.vit at gmail.com



More information about the R-help mailing list