Mercurial > repos > yufei-luo > s_mart
annotate SMART/DiffExpAnal/DESeqTools/loadTargetFile.R @ 34:529e3e6a0954
Deleted selected files
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 14:35:27 -0400 |
parents | 94ab73e8a190 |
children |
rev | line source |
---|---|
18 | 1 # loadTargetFile |
2 # loads file containing sample info | |
3 | |
4 # input : targetFile Name | |
5 # output : target | |
6 | |
7 # created Feb 6th, 2012 | |
8 # Marie-Agnes Dillies | |
9 | |
10 | |
11 loadTargetFile <- function(targetFile, header){ | |
12 if(header!=0){ | |
13 return(read.table(targetFile, header=T, sep="\t")) | |
14 }else if(header==0){ | |
15 return(read.table(targetFile, sep="\t")) | |
16 } | |
17 } |