Displaying 1 result from an estimated 1 matches for "genebody".
Did you mean:
gene_body
2011 Nov 15
1
Problem with substr
Hi, everyone
When I ran this cript, There is Error in substring(tmp.subject, tmp.end[ex]
+ 1, tmp.start[ex + 1] - 1) :
invalid substring argument(s)
Could someone figure out what the problem is?
for(i in 1:length(genebody[,1])){
tmp.id<-as.vector(genebody[i,1]) # get gene id
tmp.subject<-as.vector(genebody[i,2]) # get gene sequence
tmp.exons<-exons[which(exons[,1]==tmp.id),] # get exons of the
selected genes
tmp.pattern<-as.vector(tmp.exons[,3]) # define exons as...