forked from KlugerLab/GeneTrajectory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddGeneBinScore.Rd
40 lines (33 loc) · 894 Bytes
/
AddGeneBinScore.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AddGeneBinScore.R
\name{AddGeneBinScore}
\alias{AddGeneBinScore}
\title{Add gene bin score}
\usage{
AddGeneBinScore(
object,
gene.trajectory,
N.bin = 5,
trajectories = 1:2,
assay = "RNA",
prefix = "Trajectory",
reverse = NULL,
echo = F
)
}
\arguments{
\item{object}{Seurat object}
\item{gene.trajectory}{Gene trajectory data frame}
\item{N.bin}{integer; How many gene bins}
\item{trajectories}{vector; Which gene trajectories to define gene bin score}
\item{assay}{string; Which assay to use}
\item{prefix}{string; String added to the names in the metadata}
\item{reverse}{vector; Whether to reverse the order of genes along each trajectory}
\item{echo}{boolean; Whether to print messages}
}
\value{
Seurat object with gene bin score added in the metadata
}
\description{
Add gene bin score
}