Skip to contents

Plot identified missing data patterns

Usage

oar_missing_data_plot(data, mdp = NULL, seurat_v5 = TRUE)

Arguments

data

a gene-cell expression matrix with NA values in place of 0s and 1s everywhere else or a Seurat Object to which oar has been applied to.

mdp

a vector indicating the pattern to which each gene belongs. Default is NULL.

seurat_v5

a boolean to indicate where or not the input data is a Seurat object. Default is TRUE.

Value

Plot of missing data patterns.

Examples

if (FALSE) { # \dontrun{
##Starting from a Seurat Object analysed jointly
output <- oar_missing_data_plot(data, seurat_v5 = TRUE)

##Starting from filtered and binarized expression matrix
output <- oar_missing_data_plot(data, mdp, seurat_v5 = FALSE)
} # }