#Use Harmony to remove batch effects
proj.filter <- addHarmony(ArchRProj = proj.filter,
- reducedDims = "IterativeLSI",
- name = "Harmony", #use Harmony to remove batch effects
- groupBy = "Sample", #because these are multiple samples, remove batch effects by sample
- force = T)
Error in addHarmony(ArchRProj = proj.filter, reducedDims = "IterativeLSI", :
object 'HarmonyMatrix' not found
Error in addHarmony(ArchRProj = proj.filter, reducedDims = "IterativeLSI", :
object 'HarmonyMatrix' not found