forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CellCycleScoring.Rd
57 lines (51 loc) · 1.44 KB
/
CellCycleScoring.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
54
55
56
57
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{CellCycleScoring}
\alias{CellCycleScoring}
\title{Score cell cycle phases}
\usage{
CellCycleScoring(
object,
s.features,
g2m.features,
ctrl = NULL,
set.ident = FALSE,
...
)
}
\arguments{
\item{object}{A Seurat object}
\item{s.features}{A vector of features associated with S phase}
\item{g2m.features}{A vector of features associated with G2M phase}
\item{ctrl}{Number of control features selected from the same bin per
analyzed feature supplied to \code{\link{AddModuleScore}}.
Defaults to value equivalent to minimum number of features
present in 's.features' and 'g2m.features'.}
\item{set.ident}{If true, sets identity to phase assignments
Stashes old identities in 'old.ident'}
\item{...}{Arguments to be passed to \code{\link{AddModuleScore}}}
}
\value{
A Seurat object with the following columns added to object meta data: S.Score, G2M.Score, and Phase
}
\description{
Score cell cycle phases
}
\examples{
\dontrun{
data("pbmc_small")
# pbmc_small doesn't have any cell-cycle genes
# To run CellCycleScoring, please use a dataset with cell-cycle genes
# An example is available at http://satijalab.org/seurat/cell_cycle_vignette.html
pbmc_small <- CellCycleScoring(
object = pbmc_small,
g2m.features = cc.genes$g2m.genes,
s.features = cc.genes$s.genes
)
head(x = [email protected])
}
}
\seealso{
\code{AddModuleScore}
}
\concept{utilities}