-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSH_samova.read
34 lines (26 loc) · 1.1 KB
/
SH_samova.read
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
--- BASH interface of samova.R ---
Usage example:
Rscript samova.R --test --drop_unclassified > samovar.log
Options:
--help: show this massage and exit
--test: use test data as input
-n: number of data to generate. 1 by default
-o: output csv file
-is: species name to initiate. character from table. most occured by default
-il: species level to initiate. mean of is amount by default
-k: number of k-means to split the data. 10 by default
-mc: minimal amount of species per cluster. 2 by default
-trA: treshhold to remove species amounts. 0 by default
-trP: treshhold to remove species amounts. 2 by default
-nf: normalisation function of x. function(x) log10(x+1) by default
-pref: prefix of column names for new data
-inn: inner model for clusters. gaussian by default
-int: inter model for clusters. gaussian by default
--add: add novel data to current table
--drop_unclassified: drop all unclassified and unknown levels
--calc_unclassified: calculate unclassified
To be implemented:
-r: runs as input
-d: desease as input
-t: csv data.frame as input
-nP: number of runs to process. only for -r and -d