Goseq pwf nullp error
Hi all,
I got some trouble while use goseq to do enrichment analysis recently, the trouble is:
> pwf=nullp(de.data,bias.data=gene.length)
Error in if (min(fv) < lower_bound) fv = fv - min(fv) + lower_bound :
missing value where TRUE/FALSE needed
while using nullp function to calculate probability weight, I get the errors, could somebody help me?
ps: no NA existed in dataframe de.data, length(de.data) == length(gene.length)
Thanks a lot!
• 5,327 views
•
link
0 answers
No answers yet.
Log in to answer this question.
What is your organism? How are you producing
gene.length?Hi Parham, sorry for my delay, the organism is sheep, and the gene.length is as below:
Did I make any errors?
Thanks a lot!
If I can help you I have to see the codes you have before
pwf=nullp(de.data,bias.data=gene.length).Hi Parham,
The codes before
pwf-nullp()is as below:Its not very clear to me what you are doing. One thing I can say is, do the
bias.dataandde.datahave the samelength?Yes, no
NAexisted in dataframede.data, andlength(de.data) == length(gene.length)Could you please provide an example of :
genes_lisths.fa.len