FetchDataZeroPad: FetchData but with zeroes for unavailable genes

Description Usage Arguments Details

View source: R/seurat_extra.R

Description

FetchData but with zeroes for unavailable genes

Usage

1
FetchDataZeroPad(dge, vars.all, warn = T, ...)

Arguments

dge

Seurat object

vars.all

List of all variables to fetch. Missing entries are ignored.

...

Other arguments to pass to FetchData

Details

This function is stupid: if you ask for "PC1" and it's not available, it will think you're asking for a non-expressed gene, so it will return zeroes.


maehrlab/thymusatlastools documentation built on May 28, 2019, 2:32 a.m.