This function takes an object of class iCellR and and runs kNet for dimensionality reduction.
run.knetl(
x = NULL,
dist.method = "euclidean",
zoom = 300,
data.type = "pca",
dims = 1:20,
joint = FALSE,
col.by = "clusters",
my.seed = 1,
layout.2d = "layout_nicely",
layout.3d = "layout_with_fr",
add.3d = FALSE,
dim.redux = "umap",
do.redux = TRUE,
run.iclust = FALSE,
return.graph = FALSE
)
An object of class iCellR.
the distance measure to be used to compute the dissimilarity matrix. This must be one of: "euclidean", "maximum", "mandatattan", "canberra", "binary", "minkowski" or "NULL". By default, distance="euclidean". If the distance is "NULL", the dissimilarity matrix (diss) should be given by the user. If distance is not "NULL", the dissimilarity matrix should be "NULL".
Adjusting zoom the higher the number the less sensitivity, default = 400.
Choose between "tsne", "pca", "umap", default = "pca".
PCA dimentions to be use for clustering, default = 1:20.
Run in Combined or joint fashion as in CCCA and CPCA, default = FALSE.
If return.graph is TRUE the choose the cluster colors. Choose between "clusters", "conditions".
seed number, default = 1.
Choose your 2D layout, default = "layout_nicely".
Choose your 3D layout, default = "layout_with_fr".
Add 3D KNetL as well, default = FALSE.
Choose between "tsne", "pca", "umap" to unpack the nodes, default = "umap".
Perform dim reudx for unpaking the nodes, default = TRUE.
Perform clustering as well (nor recomanded), default = FALSE.
return igraph object, default = FALSE.
An object of class iCellR.