|
a |
|
b/man/Clustexp.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/DIscBIO-generic-Clustexp.R |
|
|
3 |
\docType{methods} |
|
|
4 |
\name{Clustexp} |
|
|
5 |
\alias{Clustexp} |
|
|
6 |
\alias{Clustexp,DISCBIO-method} |
|
|
7 |
\title{Clustering of single-cell transcriptome data} |
|
|
8 |
\usage{ |
|
|
9 |
Clustexp( |
|
|
10 |
object, |
|
|
11 |
clustnr = 3, |
|
|
12 |
bootnr = 50, |
|
|
13 |
metric = "pearson", |
|
|
14 |
do.gap = TRUE, |
|
|
15 |
SE.method = "Tibs2001SEmax", |
|
|
16 |
SE.factor = 0.25, |
|
|
17 |
B.gap = 50, |
|
|
18 |
cln = 0, |
|
|
19 |
rseed = NULL, |
|
|
20 |
quiet = FALSE |
|
|
21 |
) |
|
|
22 |
|
|
|
23 |
\S4method{Clustexp}{DISCBIO}( |
|
|
24 |
object, |
|
|
25 |
clustnr = 3, |
|
|
26 |
bootnr = 50, |
|
|
27 |
metric = "pearson", |
|
|
28 |
do.gap = TRUE, |
|
|
29 |
SE.method = "Tibs2001SEmax", |
|
|
30 |
SE.factor = 0.25, |
|
|
31 |
B.gap = 50, |
|
|
32 |
cln = 0, |
|
|
33 |
rseed = NULL, |
|
|
34 |
quiet = FALSE |
|
|
35 |
) |
|
|
36 |
} |
|
|
37 |
\arguments{ |
|
|
38 |
\item{object}{\code{DISCBIO} class object.} |
|
|
39 |
|
|
|
40 |
\item{clustnr}{Maximum number of clusters for the derivation of the cluster |
|
|
41 |
number by the saturation of mean within-cluster-dispersion. Default is 20.} |
|
|
42 |
|
|
|
43 |
\item{bootnr}{A numeric value of booststrapping runs for \code{clusterboot}. |
|
|
44 |
Default is 50.} |
|
|
45 |
|
|
|
46 |
\item{metric}{Is the method to transform the input data to a distance object. |
|
|
47 |
Metric has to be one of the following: ["spearman", "pearson", "kendall", |
|
|
48 |
"euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"].} |
|
|
49 |
|
|
|
50 |
\item{do.gap}{A logical vector that allows generating the number of clusters |
|
|
51 |
based on the gap statistics. Default is TRUE.} |
|
|
52 |
|
|
|
53 |
\item{SE.method}{The SE.method determines the first local maximum of the gap |
|
|
54 |
statistics. The SE.method has to be one of the following:["firstSEmax", |
|
|
55 |
"Tibs2001SEmax", "globalSEmax", "firstmax", "globalmax"]. Default is |
|
|
56 |
"Tibs2001SEmax"} |
|
|
57 |
|
|
|
58 |
\item{SE.factor}{A numeric value of the fraction of the standard deviation by |
|
|
59 |
which the local maximum is required to differ from the neighboring points |
|
|
60 |
it is compared to. Default is 0.25.} |
|
|
61 |
|
|
|
62 |
\item{B.gap}{Number of bootstrap runs for the calculation of the gap |
|
|
63 |
statistics. Default is 50} |
|
|
64 |
|
|
|
65 |
\item{cln}{Number of clusters to be used. Default is \code{NULL} and the |
|
|
66 |
cluster number is inferred by the saturation criterion.} |
|
|
67 |
|
|
|
68 |
\item{rseed}{Random integer to enforce reproducible clustering results.} |
|
|
69 |
|
|
|
70 |
\item{quiet}{if `TRUE`, intermediate output is suppressed} |
|
|
71 |
} |
|
|
72 |
\value{ |
|
|
73 |
The DISCBIO-class object input with the cpart slot filled. |
|
|
74 |
} |
|
|
75 |
\description{ |
|
|
76 |
This functions performs the initial clustering of the RaceID |
|
|
77 |
algorithm. |
|
|
78 |
} |
|
|
79 |
\examples{ |
|
|
80 |
sc <- DISCBIO(valuesG1msTest) # changes signature of data |
|
|
81 |
sc <- Clustexp(sc, cln = 2) |
|
|
82 |
} |