readRDS adaptation for Kandinsky data. it can save Kandinsky data alone or as part of a Seurat object

readKanData(file = NULL, with.seurat = T)

# S4 method for class 'character'
readKanData(file = NULL, with.seurat = T)

Arguments

file

character string specifying the path to the file where Seurat or Kandinsky object is stored. It must be in .rds format

with.seurat

boolean, whether loading the whole Seurat object together with Kandinsky data (`TRUE`) or Kandinsky data alone (`FALSE`). Default value is set to `TRUE`. Ignored when input file contains only a Kandinsky object