There is only call_harmony_2 function in call_harmony.R
when I change call_harmony to call_harmony_2 in run_harmony_01.R, it has error below:
b_seurat <- RunHarmony(object = b_seurat, batch_label, theta = theta_harmony, plot_convergence = TRUE,
nclust = numclust, max.iter.cluster = max_iter_cluster)
Error in UseMethod("RunHarmony") :
no applicable method for 'RunHarmony' applied to an object of class "seurat"
Hi,
There is only call_harmony_2 function in call_harmony.R when I change call_harmony to call_harmony_2 in run_harmony_01.R, it has error below: