Open samuel-marsh opened 2 months ago
Hi Sam,
Thank you for being our active user! Indeed I have found this a problem a while ago and have already got a fix in my dev branch. Would you mind have a look in my forked repo "mvfki/liger" in master branch and see if that looks like working fine?
Best, Yichen
So basically I got one more step before setting. If the defaultDimRed is set, don't update it by default unless explicitly asked with asDefault
. If defaultDimRed is NULL, just set the result as defaultDimRed.
Hi LIGER team,
Just quick PR here to fix issue. Right now runTSNE and runUMAP don't appropriately update the default dim reduc when a dimreduc is already present in object (for instance if seurat object with reductions is converted to liger object). This PR just adds single line to each of the functions to explicitly update the dim reduc after being run.
Thanks! Sam