-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.vsh.yaml
More file actions
38 lines (38 loc) · 1.03 KB
/
config.vsh.yaml
File metadata and controls
38 lines (38 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
__merge__: ../../api/comp_method.yaml
name: knnr_r
label: KNNR (R)
summary: K-nearest neighbor regression in R.
description: K-nearest neighbor regression in R.
references:
doi: 10.2307/1403797
info:
documentation_url: https://cran.r-project.org/package=FNN
repository_url: https://github.com/cran/FNN
preferred_normalization: log_cp10k
arguments:
- name: "--distance_method"
type: "string"
default: "spearman"
description: The distance method to use. Possible values are euclidean, pearson, spearman and others.
- name: "--n_pcs"
type: "integer"
default: 50
description: Number of principal components to use.
- name: "--n_neighbors"
type: "integer"
default: 20
description: Number of neighbors to use in the knn regression.
resources:
- type: r_script
path: script.R
engines:
- type: docker
image: openproblems/base_r:1
setup:
- type: r
cran: [ lmds, FNN, proxyC]
runners:
- type: executable
- type: nextflow
directives:
label: [hightime, midmem, midcpu]