Closed antoine4ucsd closed 12 months ago
Hi @antoine4ucsd
If you look at the manual ?RunHarmony
, there is an argument lambda
. By default this is 1, so setting it to c(1,1)
would do the trick? You can also set it in lambda=NULL
in which case it will set lambdas automatically for you (beta feature).
Feel free to re-open if you run into issues.
I confirm it works! thank you. (maybe for newbies like me, you can edit the vignette) Best,
Hello I am interested in running harmony with multiple covariates.
this works
this works
this failed with the following error message:
Transposing data matrix Error in tryCatchList(expr, classes, parentenv, handlers) : You specified a lambda value for each covariate but the number of lambdas specified (1) and the number of covariates (2) mismatch.
it may be obvious but I dont see how to adjust the lambdas? thank you!