Description Usage Arguments Examples
View source: R/Matrix2Vector.R
This function is used when loading pconns in ConstructMarginalModel.
1 | Matrix2Vector(pconn_data = NULL, pconn_vector = NULL, direction = "to_vector")
|
pconn_data |
The pconn matrix represented as a 2D matrix |
pconn_vector |
The pconn vector to map to the matrix. Only used when "to_matrix" is specified |
direction |
A string denoting the direction of the transform. Can be either "to_matrix" or "to_vector". Default is "to_vector" |
1 2 | data <- Matrix2Vector(pconn_data=cifti_data$data,pconn_vector=NULL,direction="to_vector")
data <- Matrix2Vector(pconn_data=cifti_data$data,pconn_vector=pvalue_vector,direction="to_matrix")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.