Hi there , recently I want to use birte package (http://bioconductor.org/packages/release/bioc/html/birte.html) to analysis my own data , but with no luck I suffered some errors such as below:
Here is the R command:
mRNA_result = birteLimma(dat.mRNA=mydat, limmamRNA=limmamRNA, affinities=affinities2,niter=500, nburnin=5000, thin=1)
And the error shows:
Automatic assignement of #replicates with design matrix (mRNA data). Formatting regulator-target network -> checking overlap between network and measurements. --> biRte tries to explain mRNA log fold changes TF Calculating potential swaps for regulator type TF miRNA Calculating potential swaps for regulator type miRNA Error in fitdistr(1/mRNA.Sigma^2, "gamma") : 'x' must be a non-empty numeric vector
anyone can help ? Thank you a lot
As far as the error message goes
You might be using a wrong input (probably mydat). The input must be a
vector
and it must benumeric