This functions performs the initial clustering of the RaceID3 algorithm.
clustexp(
object,
sat = TRUE,
samp = NULL,
cln = NULL,
clustnr = 30,
bootnr = 50,
rseed = 17000,
FUNcluster = "kmedoids",
verbose = TRUE
)
SCseq
object with clustering data stored in slot cluster
and slot clusterpar
. The clustering partition is stored in
cluster$kpart
.
SCseq
class object.
logical. If TRUE
, then the number of clusters is determined based on finding the saturation point of the mean within-cluster
dispersion as a function of the cluster number. Default is TRUE
. If FALSE
, then cluster number needs to be given as cln
.
Number of random sample of cells used for the inference of cluster number and for inferring Jaccard similarities. Default is 1000.
Number of clusters to be used. Default is NULL
and the cluster number is inferred by the saturation criterion.
Maximum number of clusters for the derivation of the cluster number by the saturation of mean within-cluster-dispersion. Default is 30.
Number of booststrapping runs for clusterboot
. Default is 50.
Integer number. Random seed to enforce reproducible clustering results. Default is 17000.
Clustering method used by RaceID3. One of "kmedoids", "kmeans", "hclust"
. Default is "kmedoids"
.
logical. If FALSE
then status output messages are disabled. Default is TRUE
.
sc <- SCseq(intestinalDataSmall)
sc <- filterdata(sc)
sc <- compdist(sc)
sc <- clustexp(sc)
Run the code above in your browser using DataLab