JinmiaoChenLab / Batch-effect-removal-benchmarking

A benchmark of batch-effect correction methods for single-cell RNA sequencing data
70 stars 44 forks source link

no call_harmony function #3

Open lacpromoter opened 4 years ago

lacpromoter commented 4 years ago

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:

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"