Closed yuhanH closed 4 years ago
So the goal is to get the residuals for only a specific set of genes? Currently this would be doable with
vst_out <- vst(umi = umi, residual_type = 'none')
residuals <- get_residuals(vst_out = vst_out, umi = umi[residual_genes, , drop = FALSE])
Do you get the same results?
residual_genes
will allow users to only calculate residuals of selected genes.This part subsets umi matrix to the selected genes and genes_step1 used to build model.
This part is to subset genes only to selected genes which will be calculated Pearson residuals.