comparison deseq-hts_1.0/tools/separate.m @ 0:94a108763d9e draft

deseq-hts version 1.0 wraps the DESeq 1.6.0
author vipints
date Wed, 09 May 2012 20:43:47 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:94a108763d9e
1 function f = separate(str, delim)
2
3 f={};
4 idx=[0 find(str==delim) length(str)+1];
5 for i=1:length(idx)-1
6 f{i}=deblank(str(idx(i)+1:idx(i+1)-1));
7 end;