get_deviance_residuals: Return deviance residuals of regularized models

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Return deviance residuals of regularized models

Usage

1
2
get_deviance_residuals(vst_out, umi, cell_attr = vst_out$cell_attr,
  bin_size = 256, show_progress = TRUE)

Arguments

vst_out

The output of a vst run

umi

The UMI count matrix that will be converted

cell_attr

Data frame of cell meta data

bin_size

Number of genes to put in each bin (to show progress)

show_progress

Whether to print progress bar

Value

A matrix of deviance residuals

Examples

1
2
3
4
5
## Not run: 
vst_out <- vst(pbmc, return_gene_attr = TRUE)
dev_res <- get_deviance_residuals(vst_out, pbmc)

## End(Not run)

sctransform documentation built on Nov. 18, 2018, 5:04 p.m.