sctransform
sctransform copied to clipboard
Error in get_residuals(), 'log_umi' not found
Running
vst_out <- vst(pbmc)
get_residuals(vst_out, pbmc)
gives Error in eval(predvars, data, env) : object 'log_umi' not found
on sctransform version 0.3.
Thank you for reporting this. Yes, the example is broken - I will fix that. It should be
vst_out <- vst(pbmc, return_cell_attr = TRUE)
pearson_res <- get_residuals(vst_out, pbmc)