DietSeurat: Slim down a Seurat object

Description Usage Arguments

View source: R/objects.R

Description

Keep only certain aspects of the Seurat object. Can be useful in functions that utilize merge as it reduces the amount of data in the merge.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
DietSeurat(
  object,
  counts = TRUE,
  data = TRUE,
  scale.data = FALSE,
  features = NULL,
  assays = NULL,
  dimreducs = NULL,
  graphs = NULL
)

Arguments

object

Seurat object

counts

Preserve the count matrices for the assays specified

data

Preserve the data slot for the assays specified

scale.data

Preserve the scale.data slot for the assays specified

features

Only keep a subset of features, defaults to all features

assays

Only keep a subset of assays specified here

dimreducs

Only keep a subset of DimReducs specified here (if NULL, remove all DimReducs)

graphs

Only keep a subset of Graphs specified here (if NULL, remove all Graphs)


ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.