| InitiateFuseNet | R Documentation |
Initialize a FuseNet object.
InitiateFuseNet(
raw_data,
project_name = "",
normalization = c("cosine", "lognorm", "none"),
normalize_factor = 10000,
zero_percent = 0.7,
pca_dims = 0,
kernel = c("gaussian", "euclidean"),
k = 100,
t = 0,
verbose = FALSE,
seed = 1
)
raw_data |
Raw data. An N x M matrix with N rows of features and M columns of data points. |
project_name |
Project name. Default is none. |
normalization |
Normalization method used. Default is cosine. See details
|
normalize_factor |
Normalization factor used with lognorm method. Default is 10000. |
zero_percent |
Zero-entry percentage threshold. If the number of zero entries in the returned matrices is above this number, a sparse matrix will be returned. Default is 0.7 aka 70%. |
pca_dims |
Number of dimensions used. Default is 0 and PCA is not performed. |
kernel |
Kernel distance used:
|
k |
Number of nearest neighbors. Default is 100. See details from |
t |
Matrix power used for the distance matrix. Default is 0 and powering is not performed. See |
verbose |
Whether to display a process bar. Default is FALSE. |
seed |
Random seed number. Default is 1. |
Returns a FuseNet object.
{
object <- InitiateFuseNet(t(iris[,1:4]), project_name = "FuseNet", k = 10)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.