Learn R Programming

MixfMRI

  • License:
  • Download:
  • Status:
  • Authors: Wei-Chen Chen and Ranjan Maitra

MixfMRI is an R package clustering fMRI data using parallel model-based clustering. The package mplements methods in Chen and Maitra (2023), doi:10.1002/hbm.26425 (pdf). The developed methods include 2D and 3D clustering analyses (for p-values with voxel locations) and segmentation analyses (for p-values alone) for fMRI data where p-values indicate significant level of activation responding to stimulate of interesting. The analyses are mainly identifying active voxel/signal associated with normal brain behaviors.

Installation

For installing MixfMRI:

  • See "./INSTALL" for details.

Usage

For simulation studies (with MPI and pbdMPI):

  • See "./inst/workflow/simulation/create_simu.txt" for simulations that support the methods developed and evaluated in Chen and Maitra (2023), doi:10.1002/hbm.26425.

For testing run time (with MPI and pbdMPI):

  • See "./inst/workflow/timing/" for testing a main function.

Workflow

For large scale workflows and examples (with MPI and pbdMPI):

  • "./inst/workflow/spmd/*_common/" for workflow main scripts.
  • "./inst/workflow/spmd/2d_V/" for running a 2D_V exmaple.
  • "./inst/workflow/spmd/2d_I/" for running a 2D_I exmaple.
  • "./inst/workflow/spmd/2d_noX/" for running a 2D_noX exmaple.
  • "./inst/workflow/spmd/3d_V/" for running a 3D_V exmaple.
  • "./inst/workflow/spmd/3d_I/" for running a 3D_I exmaple.
  • "./inst/workflow/spmd/3d_noX/" for running a 3D_noX exmaple.

Copy Link

Version

Install

install.packages('MixfMRI')

Monthly Downloads

220

Version

0.1-4

License

Mozilla Public License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Wei-Chen Chen

Last Published

October 17th, 2024

Functions in MixfMRI (0.1-4)

Threshold.Bonferroni

Calculates Bonferroni Threshold
Compute Q values

Q-values using Benjamini and Hochberg (1995)
Threshold.RF

Random Field Theory Thersholds.
Threshold.FDR

False Discovery Rate (FDR) Threshold
EC.3D

Expected Euler Characteristic for a 3D Random Field
General Internal Functions

All General Internal Functions and Datasets
cluster.threshold

Cluster threshold an array.
initial

Main initialization functions
Plotting

Main plotting function
Example Datasets

Example datasets in MixfMRI
algorithm

Main algorithms implemented in fclust
Generalized Cluster-Based Analysis (CBA) Method

Generalized Cluster-Based Analysis (CBA) Method
MixfMRI Control

Sets of controls in MixfMRI
False Discovery Rates for Spatial Signals

False Discovery Rates for Spatial Signals using Benjamini and Heller (2007)
Simulations

Generate datasets for MixfMRI simulations
Density function of p-values

Density function of p-values
Covariance Matrices

Covariance Matrices
Smoothing

Generate datasets with smoothing for MixfMRI simulations
Summarized Overlap

Summarized Overlap
MixfMRI-package

fMRI Clustering Analysis
LRT

Likelihood ratio tests
Print Objects

Print fclust related outputs
Main functions

Main MixfMRI function
Covariance Matrices of Logit ETA

Covariance Matrices of Logit ETA
Likelihood Mixture Tests with Identity Cov Matrix or Only p-values

Likelihood Mixture Tests with Identity Cov Matrix or Only p-values
Compute Statistics for Log Odds Ratio of Posterior Probability

Compute Statistics for Log Odds Ratio of Posterior Probability