Man pages for BayesfMRI
Spatial Bayesian Methods for Task Functional MRI Studies

activationsIdentify field activations
activations.classicalIdentification of areas of activation in a General Linear...
activations.posteriorIdentify activations using joint posterior probabilities
AICcCorrected AIC
aic_Paramaic
ar_order_Paramar_order
ar_smooth_Paramar_smooth
BayesfMRI-packageBayesfMRI: Spatial Bayesian Methods for Task Functional MRI...
BayesGLMBayesGLM for CIFTI
BayesGLM2Group-level Bayesian GLM
BayesGLM_argChecksBayes GLM arg checks
BayesGLM_format_ciftiFormat fit_bayesglm results into '"xifti"' objects
BayesGLM_format_designFormat design
BayesGLM_format_nuisanceFormat nuisance
BayesGLM_format_scrubFormat scrub
BayesGLM_is_valid_one_designIs a valid design?
BayesGLM_is_valid_one_nuisanceIs a valid nuisance?
BayesGLM_is_valid_one_scrubIs a valid scrub?
BayesGLM_session_namesGet 'session_names' for GLM
Bayes_ParamBayes
beta.posterior.thetasampBeta posterior theta sampling
BOLD_Param_BayesGLMBOLD
brainstructures_Param_BayesGLMbrainstructures
buffer_Parambuffer
cbind2'cbind' if first argument might be 'NULL'
check_INLACheck INLA and PARDISO
cholQsampleSample from the multivariate normal distribution with...
Connectome_Workbench_DescriptionConnectome Workbench
contrasts_Paramcontrasts
create_listRcppFunction to prepare objects for use in Rcpp functions
design_Param_BayesGLMdesign
dgCMatrix_cols_to_zeroSet column values to zero for sparse matrix
do_QCMask out invalid data
dot-findThetaPerform the EM algorithm of the Bayesian GLM fitting
dot-getSqrtInvCppGet the prewhitening matrix for a single data location
dot-initialKPFind the initial values of kappa2 and phi
dot-logDetQtFind the log of the determinant of Q_tilde
ELLExpected log-likelihood function
EM_ParamEM
emTol_ParamemTol
extract_estimatesExtract Estimates of Activation
faces_Paramfaces
field_names_Paramfield_names
fit_bayesglmfit_bayesglm
F.logwtF logwt
galerkin_dbCreate FEM matrices
get_nVGet number of locations for various masks
get_posterior_densitiesExtracts posterior density estimates for hyperparameters
get_posterior_densities2Extracts posterior density estimates for hyperparameters for...
GLM_classicalClassical GLM
GLM_compareClassical GLM for multiple models
GLMEM_fixptseparateFixed point function for the joint BayesGLM EM update...
GLMEM_objfnObjective function for the BayesGLM EM algorithm
GLM_est_resid_var_pwStandardize data variance, and prewhiten if applicable
hpf_Param_BayesGLMhpf
init_fixptThe fix point function for the initialization of kappa2 and...
init_objfnObjective function for the initialization of kappa2 and phi
INLA_depsImport INLA dependencies
INLA_DescriptionINLA
INLA_Latent_Fields_Limit_DescriptionINLA Latent Fields
intersect_maskIntersection mask for BayesGLM or activations result
is_matrix_or_dfIs a matrix or data.frame?
kappa_init_fnFunction to optimize over kappa2
log_kappa_tauMake 'log_kappa' and 'log_tau'
make_A_matMake A matrix
make_A_mat_rsMake A matrix with resampling framework
make_data_listMake data list for 'estimate_model'
make_meshMake Mesh
make_QMake the full SPDE precision based on theta, the spde, and...
make_replicatesMake replicates
make_sqrtInv_allMake 'sqrtInv_all'
mask_Param_verticesmask: vertices
max_threads_Parammax_threads
mean_var_Tol_Parammean and variance tolerance
mesh_Param_eithermesh: either
mesh_Param_inlamesh: INLA only
nbhd_order_Paramnbhd_order
neg_kappa_fnThe negative of the objective function for kappa
neg_kappa_fn2The negative of the objective function for kappa without...
neg_kappa_fn3Streamlined negative objective function for kappa2 using...
neg_kappa_fn4Streamlined negative objective function for kappa2 using...
n_threads_Paramn_threads
nuisance_Param_BayesGLMnuisance
plot.act_BGLMS3 method: use 'view_xifti' to plot a '"act_BGLM"' object
plot.BGLMS3 method: use 'view_xifti' to plot a '"BGLM"' object
plot.BGLM2S3 method: use 'view_xifti' to plot a '"BGLM2"' object
plot.prev_BGLMS3 method: use 'view_xifti' to plot a '"prev_BGLM"' object
prep_kappa2_optimFind values for coefficients used in objective function for...
prevalenceActivations prevalence.
pw_estimateEstimate residual autocorrelation for prewhitening
pw_smoothSmooth AR coefficients and white noise variance
Q_primeQ prime
qsampleSample from a multivariate normal with mean and precision
resamp_res_Param_BayesGLMresamp_res
retro_mask_actRetroactively mask activations
retro_mask_fit_bglmRetroactively mask locations from fit_bglm result.
retro_mask_meshRetroactively mask locations from mesh.
return_INLA_Paramreturn_INLA
s2mSequential 2-means variable selection
s2m_BSequential 2-means on array B
scale_BOLDScale the BOLD timeseries
scale_BOLD_Paramscale_BOLD
scale_design_matScale the design matrix
scrub_Param_BayesGLMscrub
seed_Paramseed
session_names_Paramsession_names
sparse_and_PWOrganize data for Bayesian GLM
SPDE_from_vertexSPDE from mesh model
SPDE_from_voxelSPDE from voxel model
spde_Q_phiCalculate the SPDE covariance
summary.act_BGLMSummarize a '"act_BGLM"' object
summary.act_fit_bglmSummarize a '"act_fit_bglm"' object
summary.BGLMSummarize a '"BGLM"' object
summary.BGLM2Summarize a '"BGLM2"' object
summary.fit_bglmSummarize a '"fit_bglm"' object
summary.fit_bglm2Summarize a '"fit_bglm2"' object
summary.prev_BGLMSummarize a '"prev_BGLM"' object
summary.prev_fit_bglmSummarize a '"prev_fit_bglm"' object
surfaces_Param_BayesGLMsurfaces
trim_INLA_model_objTrim INLA object
trim_INLA_Paramtrim_INLA
TR_Param_BayesGLMTR
TrQbbTrace of Q beta' beta
TrQEwwTrace approximation function
TrSigBHutchinson estimator of the trace
unmask_Mdat2InUnmask data
validate_spatialValidate 'spatial'
verbose_Paramverbose
vertex_areasSurface area of each vertex
vertices_Paramvertices
vol2spdeConstruct a triangular mesh from a 3D volumetric mask
BayesfMRI documentation built on April 4, 2025, 1:58 a.m.