jmanitz / kangar00

development of kangar00
https://cran.r-project.org/package=kangar00
2 stars 0 forks source link

Warning message: LKMT test option 'davies' #26

Open jmanitz opened 6 years ago

jmanitz commented 6 years ago

This warning message needs to be fixed or better explanation

lkmt_test(pheno ~ sex + age, net.kernel.hsa04020, gwas, method='davies') An object of class lkmt: GWAS data: example study Kernel: network Pathway: hsa04020

The score test results in the p-value: 0.3661713

Warning message: In davies(Q, lambda, rep(1, length(lambda)), rep(0, length(lambda)), : imaginary parts discarded in coercion

hofnerb commented 6 years ago

alternatively, if the warning is not important we could suppress it