Version 0.9.0 is the first update after publication of the QDECR manuscript in Frontiers in Neuroinformatics. The latter is based in Lausanne, Switzerland. This version introduces weighted regression and a number of minor tweaks.
qdecr_fastlm
can now take weights via the weights
argument, which act as observation weights in the linear regression. This argument works similar to lm
(addresses #36).bigstatsr::nb_cores
(inside QDECR:::check_cores
). However, it seems that it returns 0 cores when only 1 core is found (given that it always omits 1 core). We thus rewrote check_cores
to use parallel::detectCores
, and to make sure that it cannot return 0 cores (fixes #42).QDECR:::check_cores
.fwhmX
, where X is the FWHM in mm. However, unsmoothed files do not contain this part. The code was rewritten to check if fwhm == 0, and in those cases it will not insert that into the file names. This was fixed by setting fwhmc
to "" in QDECR:::qdecr_check
, and by tweaking QDECR:::qdecr_prep_mgh
(fixes #41).n_cores
> 1 while simultaneously having a parallel BLAS library set up.readChar
. The load.annot
function was modified by replacing readChar
with the equivalent call of readBin
.QDECR:::analysis_chunkedlm
) to be faster and be more memory efficient (se
is now calculated without the intermediate storage of s2
) (addresses #38).QDECR:::qdecr_prep_mgh
so that it also checks whether the .mgh files actually exist. It will output which subjects are missing the surface files (if N < 20) or just say that people are missing surface files (if N >= 20). This adds a little bit of runtime, but it pays off (fixes #34).QDECR:::qdecr_fastlm
will throw an error (i.e., na.action = na.fail
). This is to avoid problems downstream. We opted for na.fail
and not na.omit
-like behavior, because users who are unaware of missingness would then only find out after running QDECR that they had missingness.check_id
to explicitly state drop = TRUE
in md[, id, drop = TRUE]
. model.matrix
would supply stats::contrasts
in prep_fastlm
; this led to harmless warnings.custom_measure
argument to qdecr_fastlm
. This argument lets users specify any name for a surface map that they want, provided that [1] it starts with "qdecr_" (e.g. "qdecr_test"), [2] such a file is located in the subj subdirectory of the FreeSurfer output directories, [3] the surface files follow the same naming convention as the other surface maps that FreeSurfer outputs (e.g. "lh.test.fwhm10.fsaverage.mgh").dir_out_tree = FALSE
and clobber = TRUE
are combined. This can easily delete important directories unintentionally, as has happened to the authors.file_out_tree
argument, which controls whether output files also contain the full project name. By default, it is the inverse of dir_out_tree
.mcz_thr
argument (for qdecr
and qdecr_fastlm
) now accepts: 13/1.3/0.05, 20/2.0/0.01, 23/2.3/0.005, 30/3.0/0.001, 33/3.3/0.0005, 40/4.0/0.0001.qdecr_mcz_thr
makes sure that the value is converted to 13/20/23/30/33/40. fst
package was noted as imported package, but we never implemented functionality from it. Thus, all reference to it was removed.qdecr
. This version is updated dynamically using packageVersion("QDECR")
. The website (www.qdecr.com) was also added.load.annot
and the qdecr_read
functions.runMriSurfCluster
function to run_mri_surf_cluster
.qdecr_clusters
where it assumes that there is always at least 1 cluster significant.fwhm
argument to qdecr_fastlm
, which was missing before (fixes #18).cwp_thr
argument to qdecr_fastlm
and qdecr
to set the further cluster-wise p-value adjustment (default is 0.025 due to having 2 hemispheres, thus 0.05 / 2) (fixes #23).summary(vw, annot = TRUE)
) and "stack_names.txt" (the output of stacks(vw)
and the corresponding stack numbers) (fixes #17).freeview
and qdecr_snap
. The mask
argument is now called sig
. Furthermore, the ranges for the overlay colors are determined dynamically. Finally, users can now set any arguments to Freeview for manipulating surface files (see freeview --help
on the command line) (fixes #20).Version 0.8.0 is the first update after public release. It fixes a bunch of mistakes, introduces further modularization, improves the speed and also reduces the RAM load.
dir_target
, so that the target can be specified flexibly (fixes #1). qdecr_model
and added the input argument prep_fun
, so that users can choose and create their own prep functions (fixes #3).qdecr_analysis
and added the input argument analysis_fun
, so that users can choose and create their own analysis functions.vertexwise
, now processes regressions in chunks, i.e. more than 1 vertex at a time. This has led to a considerable upgrade in speed, especially for smaller datasets. Chunk size can be controlled with chunk_size
(fixes #7).Version 0.7.0 is the first version that is publically released. It is also the version that was presented at OHBM 2019 and was thus named "OHBM". As we do not have any formal news for versions before 0.7.0, we will keep it brief.
vw
object and associated functionsimp2list
)stack
conceptAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.