Initialize a FuseNet object.
Raw data. An N x M matrix with N rows of features and M columns of data points.
Project name. Default is none.
Normalization method used. Default is cosine. See details Normalization
.
cosine, cosine normalization: feature counts for each data point are divided by the L2 norm of them.
lognorm, log normalization: feature counts for each data point are divided by the total sum of them. Then the data is multiplied by the scale.factor before taking a log-transformed by log(1+x).
none, additional normalization is not performed.
Normalization factor used with lognorm method. Default is 10000.
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%.
Number of dimensions used. Default is 0 and PCA is not performed.
Kernel distance used:
gaussian, gaussian distance kernel. See details EuclideanDist
.
euclidean, euclidean distance kernel. See details GaussianDist
.
Number of nearest neighbors. Default is 100. See details from nn2
.
Matrix power used for the distance matrix. Default is 0 and powering is not performed. See MatrixPower
for details.
Whether to display a process bar. Default is FALSE.
Random seed number. Default is 1.
Returns a FuseNet object.
{
object <- InitiateFuseNet(t(iris[,1:4]), project_name = "FuseNet", k = 10)
}
#> Initiate FuseNet
#> Normalize Data
#> Find Nearest Neighbors
#> Matrix Power
#> Finalize