Displaying 4 results from an estimated 4 matches for "splitseq".
2013 Apr 18
0
Splitting vector
Hi,
Try:
vec1<- "mue#d/sjbijk at ruepvnvbnceiicrpgxkgcyl@keduhqvqi/ubudvxopddpfddgitrynzshzdcwgneyffrkpbxwilwqngrsals#geqmtkcpkp/qecgdfa#uag"
library(seqinr)
?res<-lapply(0:4,function(i) lapply(2:5,function(j) splitseq(s2c(gsub("[#@/]","",vec1)),word=j,frame=i)))
#or
library(stringr)
res1<-lapply(0:4,function(i) lapply(2:5,function(j) splitseq(s2c(str_replace_all(vec1,"[[:punct:]]","")),word=j,frame=i)))
#or
res2<-lapply(0:4,function(i) lapply(2:5,function(j) splitseq...
2010 Mar 16
0
FW: How to parse a string (by a "new" markup) with R ?
A version using regular expressions, regexpr() and substr() functions is attached.
Finally everything is packed into splitSeq() function (chunk 14 in the attached file)
Seq<- "GCCTCGATAGCTCAGTTGGGAGAGCGTACGACTGAAGATCGTAAGGtCACCAGTTCGATCCTGGTTCGGGGCA"
Str<- ">>>>>>>..>>>>........<<<<.>>>>>.......<<<<<.....>>>>>....
2013 Apr 19
1
Sequence analysis
Hiya,
I am trying to look at the similarities between a number of
sequences, for example i am trying to see how similar "ababbbassdaa" is to
"addffggssbbsbbs" I was wondering is the some way for me to see how similar
they are in terms of, for example, number of a's, number of b's, how often a
and ab are consecutive, how often abab is together etc.
Any advice
2010 Mar 16
3
How to parse a string (by a "new" markup) with R ?
Hello all,
For some work I am doing on RNA, I want to use R to do string parsing that
(I think) is like a simplistic HTML parsing.
For example, let's say we have the following two variables:
Seq <-
"GCCTCGATAGCTCAGTTGGGAGAGCGTACGACTGAAGATCGTAAGGtCACCAGTTCGATCCTGGTTCGGGGCA"
Str <-