Question: why length of some genes are zero?
0
gravatar for F
3.6 years ago by
F3.4k
Iran
F3.4k wrote:

hi,

i used biophysconnector package to extract average length of genes from my bed file (ribo-seq) and two txt file come from ribo-seq and rna-seq but 

this is the result is like this:

 plot(avg_adj)
> p <- 1:length(avg_adj)
> lm(log(avg_adj)~p)

Call:
lm(formula = log(avg_adj) ~ p)

Coefficients:
(Intercept)            p  
  0.2907094    0.0004894  

> p <- c(1:33)
> lm(log(avg_adj)[1:33]~p)

Call:
lm(formula = log(avg_adj)[1:33] ~ p)

Coefficients:
(Intercept)            p  
    0.41381     -0.01231  

> model <- lm(log(avg_adj)[1:33]~p)
> abline(model)
> length(avg_adj)
[1] 148
> View(genes)
> View(geneslength)
> geneslength[geneslength=0]
numeric(0)
> geneslength[geneslength==0]
  [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 [68] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[135] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[202] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[269] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[336] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[403] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R bed biophysconnector • 868 views
ADD COMMENTlink modified 3.6 years ago by Devon Ryan89k • written 3.6 years ago by F3.4k
3
gravatar for Devon Ryan
3.6 years ago by
Devon Ryan89k
Freiburg, Germany
Devon Ryan89k wrote:

There are no 0 length genes. That's either a problem with the package/database or your script.

ADD COMMENTlink written 3.6 years ago by Devon Ryan89k

thanks Devon

you always all right

ADD REPLYlink written 3.6 years ago by F3.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1875 users visited in the last hour