Thanks for developing Harmony, and integrating it with Seurat. It is simple to use, and surely faster.
However, I had a few issues:
Firstly, there was no documentation for the functions. ?RunHarmony did not return any help. This was a bit frustrating, as I could not understand the parameters.
Secondly, in the vignette 'Aligning 10X PBMCs' presented, I think the command,
system.time(pbmc %<>% RunHarmony("stim", theta = 2, plot_convergence = TRUE, nclust = 50,
max.iter.cluster = 100, max.iter.harmony = 4))
should have max.iter.harmony = 10, as the run shows 10 iterations from 1/10 till the end.
This was confusing to me as I did not understand this incongruity at first. Just a small thing to fix :)
Third and last, I actually did not get RunHarmony to run. I got the error:
Error in if (return_object) { : argument is not interpretable as logical
I couldn't understand why this was happening. The command would run iterations, converge, plot, and then give error.
Thus, I went inside the code and ran all the commands following HarmonyMatrix individually. They all ran perfectly, and I could get harmony to work. I cannot point exactly to the reason why this error is occurring.
One more thing, and this is only to clear a confusion I had: the 'dims.use' is not actually passed to HarmonyMatrix. Why is it calculated in RunHarmony command.
Sorry to combine multiple issues together. But once Harmony started working, the speed and results were impressive. Hopefully, these things can be sorted out!
Thanks for developing Harmony, and integrating it with Seurat. It is simple to use, and surely faster.
However, I had a few issues:
Firstly, there was no documentation for the functions. ?RunHarmony did not return any help. This was a bit frustrating, as I could not understand the parameters.
Secondly, in the vignette 'Aligning 10X PBMCs' presented, I think the command,
should have max.iter.harmony = 10, as the run shows 10 iterations from 1/10 till the end.
This was confusing to me as I did not understand this incongruity at first. Just a small thing to fix :)
Third and last, I actually did not get RunHarmony to run. I got the error:
Error in if (return_object) { : argument is not interpretable as logical
I couldn't understand why this was happening. The command would run iterations, converge, plot, and then give error.
Thus, I went inside the code and ran all the commands following HarmonyMatrix individually. They all ran perfectly, and I could get harmony to work. I cannot point exactly to the reason why this error is occurring.
One more thing, and this is only to clear a confusion I had: the 'dims.use' is not actually passed to HarmonyMatrix. Why is it calculated in RunHarmony command.
Sorry to combine multiple issues together. But once Harmony started working, the speed and results were impressive. Hopefully, these things can be sorted out!