View source: R/TreeBasedMethods.R
fitTree | R Documentation |
Fit tree using input parameters
fitTree(expr, nNodes, sigma, gamma, tol, maxIter)
expr |
Data to fit (NUM_GENES x NUM_SAMPLES) |
nNodes |
Number of nodes in the fitted tree, default is square-root of number of data points |
sigma |
Regularization parameter for soft-assignment of data points to nodes, used as the variance of a gaussian kernel. If 0, this is estimated automatically. |
gamma |
Graph-level regularization parameter, controlling the tradeoff between the noise-levels in the data and the graph smoothness. If 0, this is estimated automatically |
tol |
Tolerance to use when fitting the tree |
maxIter |
Maximum number of Iterations ot run the algorithm for |
(list) Tree characteristics:
C spatial positions of the tree nodes in NUM_PROTEINS dimensional space
unweighted (binary) adjacency matrix
the mean-squared error of the tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.