[381c22]: / man / comptSNE.Rd

Download this file

54 lines (46 with data), 1.2 kB

 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/DIscBIO-generic-comptSNE.R
\name{comptSNE}
\alias{comptSNE}
\alias{comptSNE,DISCBIO-method}
\title{Computing tSNE}
\usage{
comptSNE(
object,
rseed = NULL,
max_iter = 5000,
epoch = 500,
quiet = FALSE,
...
)
\S4method{comptSNE}{DISCBIO}(
object,
rseed = NULL,
max_iter = 5000,
epoch = 500,
quiet = FALSE,
...
)
}
\arguments{
\item{object}{\code{DISCBIO} class object.}
\item{rseed}{Random integer to to yield reproducible maps across different
runs}
\item{max_iter}{maximum number of iterations to perform.}
\item{epoch}{The number of iterations in between update messages.}
\item{quiet}{if `TRUE`, suppresses intermediate output}
\item{...}{other parameters to be passed to `tsne::tsne`}
}
\value{
The DISCBIO-class object input with the tsne slot filled.
}
\description{
This function is used to compute the t-Distributed Stochastic
Neighbor Embedding (t-SNE).
}
\examples{
sc <- DISCBIO(valuesG1msTest) # changes signature of data
sc <- Clustexp(sc, cln = 2) # data must be clustered before plottin
sc <- comptSNE(sc, max_iter = 30)
head(sc@tsne)
}