ligerex <- createLiger(list(ctrl = ctrl, stim = stim))
if (packageVersion("Matrix") <= package_version("1.6.1.1")) {
# 1.6.2 is not compatible thus don't test
# but can use `setOldClass("mMatrix")` as a hack
srt <- ligerToSeurat(ligerex)
}
Run the code above in your browser using DataLab