Description Usage Arguments Details Value Author(s) Examples
The function regards the given string as DNA sequence bearing a collection of splice sites. The given lEnd
and rStart
positions act as (1-based) coordinates of the innermost exonic nucleotides. They reside on exon-intron boundaries and have one exonic and one intronic adjacent nucleotide. The function counts width
k-mers upstream on exonic DNA in reading direction (left -> right on + strand, right -> left on - strand).
1 | countSpliceKmers(dna,seqid,lEnd,rStart,width,strand,k)
|
dna |
|
seqid |
|
lEnd |
|
rStart |
|
width |
|
strand |
|
k |
|
The function returns a matrix. Each colum containts the motif-count values for one frame. Each row represents one DNA motif. The DNA sequence of the DNA motif is given as row.name.
matrix
.
Wolfgang Kaisers
1 2 3 4 5 6 7 8 9 10 11 12 | seq<-"acgtGTccccAGcccc"
countSpliceKmers(seq,seqid=1,lEnd=4,rStart=10,width=2,strand=1,k=3)
#
sq1<-"TTTTTCCCCGGGGAAAA"
sq2<-"TTTTTTTCCCCGGGGAAAA"
sq<-c(sq1,sq2)
seqid <-c( 1, 1, 2, 2)
lEnd <-c( 9, 9,11,11)
rStart<-c(14,14,16,16)
width <-c( 4, 4, 4, 4)
strand<-c( 1, 0, 1, 0)
countSpliceKmers(sq,seqid,lEnd,rStart,width,strand,k=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.