Skip to contents

Given a Seurat object, returns a new Seurat object whose RNA expression counts includes the variable features from the original object and an equal number of knockoff features.

Usage

get_seurat_obj_with_knockoffs(seurat_obj, assay = "RNA", verbose = TRUE)

Arguments

seurat_obj

A Seurat object containing RNA expression counts.

assay

The assay to generate knockoffs from.

verbose

Whether or not to show logging.

Value

A Seurat object that contains the original variable features and an equal number of knockoff features.