R/summary_hommel_roi.R

Defines functions summary_hommel_roi

# @description computes alpha-level estimate of active voxels.
#   


summary_hommel_roi <- function(hommel,ix,alpha=0.05){
  Total=length(hommel@p[ix])
  False_Null=hommel::discoveries(hommel, alpha=alpha, ix=ix)
  True_Null=Total-False_Null
  Active_Proportion= tdp(hommel, ix=ix)
  list(Size=Total,FalseNull=False_Null,TrueNull=True_Null,ActiveProp=Active_Proportion)
}

Try the ARIbrain package in your browser

Any scripts or data that you put into this service are public.

ARIbrain documentation built on May 2, 2019, 9:15 a.m.