If SCTransform is used with a batch or latent variable, it confirms that there are no missing values in the requested variable. However, it calls is.nan and is.infinite on a list which is not allowed. This error only appears when calling SCTransform with a batch or latent variable, otherwise this step is skipped. This is a fix for issue #88
Thank you for this PR. While your fix is perfectly acceptable, I opted for a different approach that allows me to print a more helpful error message. See commit 63c0eda
If SCTransform is used with a batch or latent variable, it confirms that there are no missing values in the requested variable. However, it calls
is.nan
andis.infinite
on a list which is not allowed. This error only appears when calling SCTransform with a batch or latent variable, otherwise this step is skipped. This is a fix for issue #88