View source: R/backprojectFCnet.R
backprojectFCnet | R Documentation |
This function projects - based on Loadings as provided
by reduce_features_FC()
- regression coefficients onto
the original space (i.e. a square matrix or a volume).
Coefficients can either be
passed as a list (as created, for example, by FCnetLOO()
), as a data.frame,
or as a user-defined vector. If a single value for the coefficients
is provided, then the function understands that the user wants to retrieve
the edges' loadings for a specific coefficient, i.e. (possibly) a network.
The function returns a square matrix or a 3-D array whose entries are the linear combination
of the coefficients and the edge's loadings. Optional thresholding can be passed
to the threshold parameter: an integer value must be specified in order to
retrieve the k largest coefficients, in absolute value, only.
backprojectFCnet( coeffs, reduce_features_object, normthresh = TRUE, threshold = NULL )
coeffs |
Coefficients can either be
passed as a list (as created, for example, by |
reduce_features_object |
An object created by |
normthresh |
If TRUE first back-projected coefficients are normalized within the -1 - 1 interval, and then only the values larger than 0.1 (in absolute value) are retained. Default is TRUE. |
threshold |
Optional. Prune the back-projection matrix by retaining only the threshold larger entries (in absolute value) if normthresh is FALSE. This is disregarded if normthresh is TRUE. |
A square back-projection matrix or 3-D volume with the original dimensions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.