You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
7
7
## Minor Tweaks
8
8
* Added the `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`.
Copy file name to clipboardExpand all lines: R/qdecr.R
+33-13Lines changed: 33 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,36 @@
6
6
#' .mgh format data as input and allows statistical analyses per vertex. A variety
7
7
#' of statistical models have been implemented, such as linear regression.
8
8
#'
9
-
#' @param a test
10
-
#' @param b test
11
-
#' @param c test
12
-
#' @param d test
13
-
#' @param e test
14
-
#' @param f test
15
-
#' @param g test
16
-
#' @param h test
9
+
#' @param id the name of the id variable that matches the dataset to the Freesurfer output
10
+
#' @param data a required argument that contains a data frame, a list of data frames or an imputed object that is supported by the `imp2list` function (mice, mi, etc.).
11
+
#' @param vertex the preposition to the vertex measure (default: "qdecr_")
12
+
#' @param margs the arguments that should be provided to the function of interest (e.g. stats::lm)
13
+
#' @param model the function to grab the arguments from (this will be removed in a later version)
14
+
#' @param target the target template (default = "fsaverage")
15
+
#' @param hemi hemisphere to analyze ("lh" or "rh")
16
+
#' @param measure the vertex-wise measure to use ("thickness", "area", etc.)
17
+
#' @param fwhm full width half max (default = 10 mm, for pial_lgi it is 5 mm)
18
+
#' @param mcz_thr A numeric value for the Monte Carlo simulation threshold (default: 0.001). Any of the following are accepted (equivalent values separate by `/`): 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.
19
+
#' @param cwp_thr the cluster-wise p-value threshold on top of all correction (default = 0.025, as there are 2 hemispheres)
20
+
#' @param mgh NOT IMPLEMENTED; path to existing merged mgh file, default is NULL
21
+
#' @param mask mgh file to mask analysis; default is to use the cortex label from the target
22
+
#' @param mask_path path to the mask; default is the cortex mask that is provided with the QDECR package
23
+
#' @param project the base name you want to assign to the output files
24
+
#' @param dir_subj directory contain the surface-based maps (mgh files); defaults to SUBJECTS_DIR
25
+
#' @param dir_fshome Freesurfer directory; defaults to FREESURFER_HOME
26
+
#' @param dir_tmp directory to store the temporary big matrices; useful for shared memory; defaults to `dir_out`
27
+
#' @param dir_out the directory where to save the data to (defaults to the current directory)
28
+
#' @param dir_out_tree if TRUE, creates a dir_out/project directory. If FALSE, all output is placed directory into dir_out
29
+
#' @param file_out_tree if TRUE, adds the full project name to the output file names. By default it is the inverse of dir_out_tree
30
+
#' @param clean_up NOT IMPLEMENTED; will be used for setting cleaning of other files
31
+
#' @param clean_up_bm if TRUE, cleans all big matrices (.bk) that were generated in dir_tmp
32
+
#' @param clobber if TRUE, ignores already existing directories and writes over them; if FALSE, stops and warns user that a given directory already exists
33
+
#' @param verbose if TRUE, writes out standard log; if FALSE, no output is generated
34
+
#' @param debug NOT IMPLEMENTED; will output the maximal log to allow for easy debugging
35
+
#' @param n_cores the number of cores to be used
36
+
#' @param prep_fun Name of the function that needs to be called for the preparation step (do not touch unless you know what you are doing!)
37
+
#' @param analysis_fun Name of the function that needs to be called for the analysis step (do not touch unless you know what you are doing!)
38
+
#' @param chunk_size Integer; the desired chunk size for the chunked lm
0 commit comments