AtMet:Annotation/GC/Kusano07/Col0-1/View
From Metabolomics.JP
< AtMet:Annotation/GC/Kusano07/Col0-1(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
− | {| class="wikitable" | + | {| class="wikitable sortable" |
+ | |-style="font-size:8pt" | ||
+ | {{#replace: | ||
+ | {{#lua: | ||
+ | total = 0 | ||
+ | count =0 | ||
+ | output="" | ||
+ | for RI,abbrev,name in stdin:gmatch("&&[A-Za-z0-9/]+Header([^\t]+).([^\t]+).([^\n]+)") do | ||
+ | output = output .. " &width=30& " .. RI .. "\n" .. name .."\n" | ||
+ | end | ||
+ | print(output) | ||
+ | |{{#SearchLineReg:.*|PSC|Annotation/GC/Kusano07/Header}} | ||
+ | }} | ||
+ | |&|{{#bar:}}}} | ||
+ | |- | ||
{{#replace: | {{#replace: | ||
{{#lua: | {{#lua: | ||
Line 20: | Line 34: | ||
output = "" | output = "" | ||
for key, value in pairs(Val) do | for key, value in pairs(Val) do | ||
− | |||
if (value > avg + 2*var) then | if (value > avg + 2*var) then | ||
− | output = output .. 'style="background-color:#faa"' | + | output = output .. '&style="background-color:#faa"' |
elseif (value > avg + var) then | elseif (value > avg + var) then | ||
− | output = output .. 'style="background-color:#fdd"' | + | output = output .. '&style="background-color:#fdd"' |
elseif (value < avg - var) then | elseif (value < avg - var) then | ||
− | output = output .. 'style="background-color:#ddf"' | + | output = output .. '&style="background-color:#ddf"' |
elseif (value < avg - 2*var) then | elseif (value < avg - 2*var) then | ||
− | output = output .. 'style="background-color:#aaf"' | + | output = output .. '&style="background-color:#aaf"' |
end | end | ||
− | output = output .. " | + | output = output .. "&" .. value .. "\n" |
end | end | ||
print(output) | print(output) |