Summarized Overlap | R Documentation |
Compute summarized overlap on a given overlap (symmetric) matrix.
summarized.overlap(overlap.mat)
overlap.mat |
an overlap (symmetric) matrix. |
overlap.mat
is a p * p
matrix containing pair wised overlaps
of p
experiments. overlap.mat
is assumed a symmetric matrix.
This function returns a summarized overlap based on the input
overlap.mat
that charactorizes the overall overlap behavior of the
p
experiments.
A single value is returned.
Ranjan Maitra.
Chen, W.-C. and Maitra, R. (2021) “A Practical Model-based Segmentation Approach for Accurate Activation Detection in Single-Subject functional Magnetic Resonance Imaging Studies”, arXiv:2102.03639.
library(MixfMRI, quietly = TRUE)
set.seed(1234)
p <- 10 # 10 experiments.
overlap.mat <- diag(1, p)
overlap.mat[lower.tri(overlap.mat)] <- runif(p * (p - 1) / 2)
overlap.mat[upper.tri(overlap.mat)] <- t(overlap.mat)[upper.tri(overlap.mat)]
summarized.overlap(overlap.mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.