Description Usage Arguments Value Note
View source: R/img_cov_matrix.R
Calculates the neighborhood of multiple images, and then does the covariance of each neighbor with itself in the other imaging modality
1 2 3 4 5 6 7 8 9 |
imgs |
list of images of class |
mask |
Binary image of class |
radius |
vector of length 3 for number of voxels to go in each direction.
Default is 27 neighbors (including voxel at center).
Passed to |
method |
Type of correlation. If pearson, scaling done on original data.
If spearman, the ranks. If you want a covariance, you simply need to do
|
center |
Should the data be centered |
scale |
Should the data be scaled |
verbose |
print diagnostic messages |
List of matrix of covariances for each voxel and the order the columns are in.
#' @export
Divisor is n - 1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.