Repository navigation
Expand file tree
/
Copy pathrarefaction.json
More file actions
211 lines (210 loc) · 5.21 KB
/
Copy pathrarefaction.json
File metadata and controls
211 lines (210 loc) · 5.21 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "rarefaction",
"width": 700,
"height": 500,
"extended": { "adjust graph data": true },
"description": "The rarefaction plot shows the increase in species for increased number of reads. This is static data that does not take the selected filters into account.</p><p>You can adjust the sample label by <a href='https://github.com/MG-RAST/tech-report/wiki/MG-RAST-glossary#metadata' target=_blank>metadata</a> field. The layout tab has options to adjust the general layout of the graph.",
"controls": [
{ "adjust graph data":
[
{ "name": "metadatum", "type": "select", "description": "metadatum to name the datasets by", "title": "data label", "adaptToData": true, "default": "library|metagenome_name", "isDataUpdater": true, "values": "metadata" }
]
},
{ "layout":
[
{ "name": "height", "type": "int", "description": "height of the plot", "title": "height" },
{ "name": "width", "type": "int", "description": "width of the plot", "title": "width" }
]
}
],
"items": [
{
"type": "axis",
"name": "item0",
"parameters": {
"direction": "horizontal",
"labelPosition": "left-bottom",
"labelRotation": 20,
"shift": 75,
"base": 75,
"length": 475,
"min": 0,
"max": 6,
"spaceMajor": 83.33333333333333,
"numMinor": 4,
"tickShift": 0,
"tickBase": 0,
"majorTickLength": 10,
"minorTickLength": 5,
"lineFormat": {
"stroke": "black",
"strokeWidth": 1
},
"labelFormat": {
"fontFamily": "Helvetica",
"fontWeight": 100,
"fontSize": 12
},
"showLabels": true,
"labelOrigin": true,
"isLog": false,
"noLine": false,
"inputType": "plot",
"id": "item0",
"groupSettings": {},
"data": []
},
"data": "matrix2valueX"
},
{
"type": "axis",
"name": "item1",
"parameters": {
"direction": "vertical",
"labelPosition": "left-bottom",
"labelRotation": 0,
"shift": 75,
"base": 75,
"length": 375,
"min": 0,
"max": 7,
"spaceMajor": 57.142857142857146,
"numMinor": 4,
"tickShift": 0,
"tickBase": 0,
"majorTickLength": 10,
"minorTickLength": 5,
"lineFormat": {
"stroke": "black",
"strokeWidth": 1
},
"labelFormat": {
"fontFamily": "Helvetica",
"fontWeight": 100,
"fontSize": 12
},
"showLabels": true,
"labelOrigin": true,
"isLog": false,
"noLine": false,
"inputType": "plot",
"id": "item1",
"groupSettings": {},
"data": []
},
"data": "matrix2valueY"
},
{
"type": "legend",
"name": "item2",
"parameters": {
"top": 150,
"left": 570,
"colors": [
"#3366cc",
"#dc3912",
"#ff9900",
"#109618",
"#990099",
"#0099c6",
"#dd4477",
"#66aa00",
"#b82e2e",
"#316395",
"#994499",
"#22aa99",
"#aaaa11",
"#6633cc",
"#e67300",
"#8b0707",
"#651067",
"#329262",
"#5574a6",
"#3b3eac",
"#b77322",
"#16d620",
"#b91383",
"#f4359e",
"#9c5935",
"#a9c413",
"#2a778d",
"#668d1c",
"#bea413",
"#0c5922",
"#743411"
],
"format": {
"fontSize": 12,
"fontFamily": "arial",
"fontWeight": "normal"
},
"inputType": "plot",
"legendType": "column",
"id": "item2",
"groupSettings": {},
"data": []
},
"data": "matrix2plotlegend"
},
{
"type": "linechart",
"name": "item3",
"parameters": {
"height": 375,
"width": 475,
"radius": 0,
"shift": 75,
"base": 75,
"space": 50,
"format": {
"fill": "white",
"stroke": "blue",
"strokeWidth": 1
},
"inputType": "plot",
"id": "item3",
"groupSettings": {},
"data": []
},
"data": "matrix2plot"
},
{
"type": "title",
"name": "item4",
"parameters": {
"rotation": 90,
"shiftY": 225,
"shiftX": 15,
"format": {
"font-size": 15,
"font-family": "arial",
"text-anchor": "middle",
"transform": "rotate(-90, 15, 250)"
},
"data": "species count",
"inputType": "none",
"id": "item4",
"groupSettings": {}
}
},
{
"type": "title",
"name": "item5",
"parameters": {
"rotation": 0,
"shiftY": 500,
"shiftX": 350,
"format": {
"font-size": 15,
"font-family": "arial",
"text-anchor": "middle",
"transform": "rotate(-0, 350, 500)"
},
"data": "number of reads",
"inputType": "none",
"id": "item5",
"groupSettings": {}
}
}
]
}