Skip to content

Commit 61120a1

Browse files
committed
docs
1 parent b5093e0 commit 61120a1

File tree

3 files changed

+42
-3
lines changed

3 files changed

+42
-3
lines changed

NAMESPACE

+40
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
S3method(balance_partitions,blocked_cross_validation)
4+
S3method(balance_partitions,bootstrap_blocked_cross_validation)
5+
S3method(balance_partitions,custom_cross_validation)
6+
S3method(balance_partitions,default)
7+
S3method(balance_partitions,kfold_cross_validation)
8+
S3method(balance_partitions,sequential_blocked_cross_validation)
9+
S3method(balance_partitions,twofold_blocked_cross_validation)
310
S3method(crossval_samples,blocked_cross_validation)
411
S3method(crossval_samples,bootstrap_blocked_cross_validation)
512
S3method(crossval_samples,custom_cross_validation)
@@ -54,6 +61,7 @@ S3method(print,mvpa_dataset)
5461
S3method(print,mvpa_design)
5562
S3method(print,mvpa_model)
5663
S3method(print,mvpa_surface_dataset)
64+
S3method(print,mvpa_sysinfo)
5765
S3method(print,regression_result)
5866
S3method(print,rsa_design)
5967
S3method(print,rsa_model)
@@ -64,6 +72,7 @@ S3method(print,vector_rsa_design)
6472
S3method(print,vector_rsa_model)
6573
S3method(prob_observed,binary_classification_result)
6674
S3method(prob_observed,multiway_classification_result)
75+
S3method(process_roi,custom_internal_model_spec)
6776
S3method(run_regional,default)
6877
S3method(run_regional,feature_rsa_model)
6978
S3method(run_regional,mvpa_model)
@@ -89,6 +98,7 @@ S3method(y_train,feature_rsa_model)
8998
S3method(y_train,mvpa_design)
9099
S3method(y_train,mvpa_model)
91100
export(MVPAModels)
101+
export(balance_partitions)
92102
export(binary_classification_result)
93103
export(blocked_cross_validation)
94104
export(bootstrap_blocked_cross_validation)
@@ -130,6 +140,7 @@ export(mvpa_design)
130140
export(mvpa_iterate)
131141
export(mvpa_model)
132142
export(mvpa_surface_dataset)
143+
export(mvpa_sysinfo)
133144
export(nobs)
134145
export(nresponses)
135146
export(pcadist)
@@ -142,6 +153,8 @@ export(regional_mvpa_result)
142153
export(robustmahadist)
143154
export(rsa_design)
144155
export(rsa_model)
156+
export(run_custom_regional)
157+
export(run_custom_searchlight)
145158
export(run_regional)
146159
export(run_regional_base)
147160
export(run_searchlight)
@@ -160,19 +173,37 @@ export(y_train)
160173
import(dplyr)
161174
import(stringr)
162175
importFrom(MASS,huber)
176+
importFrom(Matrix,sparseMatrix)
163177
importFrom(Rfit,rfit)
164178
importFrom(assertthat,assert_that)
165179
importFrom(corpcor,invcov.shrink)
180+
importFrom(dplyr,all_of)
166181
importFrom(dplyr,bind_rows)
167182
importFrom(dplyr,filter)
183+
importFrom(dplyr,mutate)
184+
importFrom(dplyr,pull)
185+
importFrom(dplyr,rename)
186+
importFrom(dplyr,select)
168187
importFrom(ffmanova,ffmanova)
169188
importFrom(furrr,future_map)
170189
importFrom(furrr,future_pmap)
190+
importFrom(futile.logger,flog.debug)
171191
importFrom(futile.logger,flog.error)
172192
importFrom(futile.logger,flog.info)
193+
importFrom(futile.logger,flog.warn)
194+
importFrom(future,"%<-%")
195+
importFrom(future,"%globals%")
196+
importFrom(future,multisession)
197+
importFrom(future,plan)
198+
importFrom(future,sequential)
199+
importFrom(future.apply,future_lapply)
200+
importFrom(future.apply,future_mapply)
201+
importFrom(glmnet,cv.glmnet)
202+
importFrom(glmnet,glmnet)
173203
importFrom(io,qread)
174204
importFrom(memoise,memoise)
175205
importFrom(methods,as)
206+
importFrom(methods,is)
176207
importFrom(modelr,resample)
177208
importFrom(neuroim2,NeuroVol)
178209
importFrom(neuroim2,ROIVec)
@@ -194,19 +225,28 @@ importFrom(neurosurf,ROISurfaceVector)
194225
importFrom(neurosurf,geometry)
195226
importFrom(neurosurf,nodes)
196227
importFrom(purrr,is_formula)
228+
importFrom(purrr,list_assign)
197229
importFrom(purrr,map)
198230
importFrom(purrr,map_dbl)
199231
importFrom(purrr,map_df)
232+
importFrom(purrr,map_int)
233+
importFrom(purrr,map_lgl)
200234
importFrom(sda,sda.ranking)
201235
importFrom(stats,as.formula)
202236
importFrom(stats,coef)
203237
importFrom(stats,cor)
204238
importFrom(stats,dist)
239+
importFrom(stats,dnorm)
205240
importFrom(stats,lm)
206241
importFrom(stats,mahalanobis)
207242
importFrom(stats,median)
208243
importFrom(stats,pf)
209244
importFrom(stats,prcomp)
210245
importFrom(stats,rnorm)
211246
importFrom(stats,sd)
247+
importFrom(stats,setNames)
212248
importFrom(stats,terms)
249+
importFrom(stats,var)
250+
importFrom(tibble,is_tibble)
251+
importFrom(tibble,tibble)
252+
importFrom(tidyr,unnest_wider)

R/custom.R

+1-2
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,7 @@ process_roi.custom_internal_model_spec <- function(mod_spec, roi, rnum, ...) {
417417
#' @importFrom dplyr bind_rows select filter pull mutate
418418
#' @importFrom tidyr unnest_wider
419419
#' @importFrom tibble tibble is_tibble
420-
#' @importFrom neuroim2 values indices space mask NeuroVol NeuroSurface SparseNeuroVec geometry NeuroSurfaceVector get_searchlight NeuroSpace
421-
#' @importFrom Matrix sparseMatrix sweep
420+
#' @importFrom Matrix sparseMatrix
422421
#' @importFrom purrr map map_int map_dbl map_lgl list_assign
423422
#' @importFrom stats setNames sd
424423
#' @importFrom futile.logger flog.info flog.warn flog.error flog.debug

R/feature_rsa_model.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ feature_rsa_model <- function(dataset,
362362
}
363363

364364

365-
#' @importFrom glmnet cv.glmnet glmnet coef.glmnet predict
365+
#' @importFrom glmnet cv.glmnet glmnet
366366
#' @noRd
367367
.predict_glmnet <- function(model, F_new) {
368368
# F_new is test features (subset for that fold)

0 commit comments

Comments
 (0)