forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DietSeurat.Rd
53 lines (43 loc) · 1.36 KB
/
DietSeurat.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/objects.R
\name{DietSeurat}
\alias{DietSeurat}
\title{Slim down a Seurat object}
\usage{
DietSeurat(
object,
layers = NULL,
features = NULL,
assays = NULL,
dimreducs = NULL,
graphs = NULL,
misc = TRUE,
counts = deprecated(),
data = deprecated(),
scale.data = deprecated(),
...
)
}
\arguments{
\item{object}{A \code{\link[SeuratObject]{Seurat}} object}
\item{layers}{A vector or named list of layers to keep}
\item{features}{Only keep a subset of features, defaults to all features}
\item{assays}{Only keep a subset of assays specified here}
\item{dimreducs}{Only keep a subset of DimReducs specified here (if
\code{NULL}, remove all DimReducs)}
\item{graphs}{Only keep a subset of Graphs specified here (if \code{NULL},
remove all Graphs)}
\item{misc}{Preserve the \code{misc} slot; default is \code{TRUE}}
\item{counts}{Preserve the count matrices for the assays specified}
\item{data}{Preserve the data matrices for the assays specified}
\item{scale.data}{Preserve the scale data matrices for the assays specified}
\item{...}{Ignored}
}
\value{
\code{object} with only the sub-object specified retained
}
\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
}
\concept{objects}