Mercurial > repos > yufei-luo > s_mart
comparison SMART/DiffExpAnal/DESeqTools/loadTargetFile.R @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
17:b0e8584489e6 | 18:94ab73e8a190 |
---|---|
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 } |