Entering edit mode
10.0 years ago
Gerde
•
0
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!
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.data
andde.data
have the samelength
?Yes, no
NA
existed in dataframede.data
, andlength(de.data) == length(gene.length)
Could you please provide an example of :
genes_list
hs.fa.len