do_QC | R Documentation |
Mask out data locations that are invalid (missing data, low mean, or low variance) for any session.
do_QC(BOLD, meanTol = 1e-06, varTol = 1e-06, verbose = TRUE)
BOLD |
A session-length list of |
meanTol , varTol |
Tolerance for mean and variance of each data location.
Locations which do not meet these thresholds are masked out of the analysis.
Defaults: |
verbose |
Print messages counting how many locations are removed?
Default: |
A logical vector indicating locations that are valid across all sessions.
nT <- 30
nV <- 400
BOLD1 <- matrix(rnorm(nT*nV), nrow=nT)
BOLD1[,seq(30,50)] <- NA
BOLD2 <- matrix(rnorm(nT*nV), nrow=nT)
BOLD2[,65] <- BOLD2[,65] / 1e10
BOLD <- list(sess1=BOLD1, sess2=BOLD2)
do_QC(BOLD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.