Learn R Programming

⚠️There's a newer version (0.1-4) of this package.Take me there.

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

257

Version

0.1-3

License

Mozilla Public License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Wei-Chen Chen

Last Published

September 4th, 2023

Functions in MixfMRI (0.1-3)

algorithm

Main algorithms implemented in fclust
Simulations

Generate datasets for MixfMRI simulations
Main functions

Main MixfMRI function
LRT

Likelihood ratio tests
Example Datasets

Example datasets in MixfMRI
Summarized Overlap

Summarized Overlap
Compute Q values

Q-values using Benjamini and Hochberg (1995)
MixfMRI-package

fMRI Clustering Analysis
Threshold.Bonferroni

Calculates Bonferroni Threshold
MixfMRI Control

Sets of controls in MixfMRI
Density function of p-values

Density function of p-values
False Discovery Rates for Spatial Signals

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

Covariance Matrices
Smoothing

Generate datasets with smoothing for MixfMRI simulations
Compute Statistics for Log Odds Ratio of Posterior Probability

Compute Statistics for Log Odds Ratio of Posterior Probability
Threshold.RF

Random Field Theory Thersholds.
Threshold.FDR

False Discovery Rate (FDR) Threshold
EC.3D

Expected Euler Characteristic for a 3D Random Field
Plotting

Main plotting function
Likelihood Mixture Tests with Identity Cov Matrix or Only p-values

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

Covariance Matrices of Logit ETA
cluster.threshold

Cluster threshold an array.
General Internal Functions

All General Internal Functions and Datasets
Generalized Cluster-Based Analysis (CBA) Method

Generalized Cluster-Based Analysis (CBA) Method
initial

Main initialization functions
Print Objects

Print fclust related outputs