Mercurial > repos > vipints > deseq_hts
view 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 |
line wrap: on
line source
function f = separate(str, delim) f={}; idx=[0 find(str==delim) length(str)+1]; for i=1:length(idx)-1 f{i}=deblank(str(idx(i)+1:idx(i+1)-1)); end;