Error in (1 - h) * qs[i] : non-numeric argument to binary operator
Hi, I encountered an error in ballgown. The command is
results_transcripts = stattest(bg_chrX_filt, feature="transcript",covariate="cultivars", getFC=TRUE, meas="FPKM", timecourse = TRUE)
Error in (1 - h) * qs[i] : non-numeric argument to binary operator
the pheno.csv file as
Ids,cultivars
G1,Batis
G2,BlueSilver
G3,Chakwal_50
G4,LocalWhite
G5,Syn
G6,Uzcwa
kindly tell me how to remove this error
• 331 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Look, without offence, but why don't you look at the ballgown vignette, get the example dataset (or some published tutorials) and reproduce an entire ballgown analysis. Once you get the principles proceed with your data, making sure that they are named properly, contrasts and covariates are named properly, are correctly passed to the functions and then try to proceed. Currently you seem to post every error message here that you encounter, which is not going to get you anywhere. ballgown is an established package so the flaw must be in your code or design somewhere. You really should get at least a basic background with the package to be able to stand up for your analysis rather than just pressing buttons and then seek help once an error occurs. Errors of that kind typically indicate that you try to pass data to a function that are non-standard (or in this case maybe do not fit the assumptions of the function). Please spend some quality time on reproducing some of the example data, understanding the concepts and then come back if you have trouble, providing some specific details on what went wrong and what you've tried to solve the problem.