Template:P450/Table
From Metabolomics.JP
(Difference between revisions)
(→Functions) |
|||
| (19 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#graph: | + | {{#graph:hgbar|size=400x200;margin=150,20,40,40;title=Plant Orders (Total {{#count:{{{1}}}}});legend=0.0x0.1;label=; |
{{#lua: | {{#lua: | ||
T = {}; L = {} | T = {}; L = {} | ||
| Line 8: | Line 8: | ||
others = 0 | others = 0 | ||
for k,v in pairs(L) do | for k,v in pairs(L) do | ||
| − | if (T[v] > 1) then print(v .."="..T[v]..";") | + | if (T[v] > 1 and T[v] > (0.01 * {{#count:{{{1}}}}})) then print(v .."="..T[v]..";") |
| − | else others = others + | + | else others = others + T[v] end |
end | end | ||
| − | print("Others="..others..";") | + | if (others > 0) then |
| + | print("Others="..others..";") end | ||
| | | | ||
| − | {{#repeat:P450/Table/Row/GetOrder|1|{{{1}}} }} | + | {{#repeat:P450/Table/Row/GetOrder|1|{{{1|&&CYP&&Oryza sativa&&}}} }} |
}} }} | }} }} | ||
| − | + | ||
| − | {{#repeat:P450/ | + | <!---- next/prev links at the page bottom (same as massbank)----> |
| − | {{ | + | {{#repeat:P450/PrevNextLink|4| |
| + | {{#lua: | ||
| + | first = nil | ||
| + | prev = nil | ||
| + | next = nil | ||
| + | last = nil | ||
| + | hit = nil | ||
| + | for line in stdin:gmatch("(%w+)") do | ||
| + | if (first == nil) then first = line end | ||
| + | last = line | ||
| + | if (line == "{{PAGENAME}}") then | ||
| + | hit = true | ||
| + | if (tmp ~= nil) then | ||
| + | prev = tmp | ||
| + | else | ||
| + | prev = first | ||
| + | end | ||
| + | elseif (hit) then | ||
| + | next = line | ||
| + | hit = false | ||
| + | end | ||
| + | tmp = line | ||
| + | end | ||
| + | if (next == nil) then next = last end | ||
| + | print(first) | ||
| + | print(prev) | ||
| + | print(next) | ||
| + | print(last) | ||
| + | |{{Persist:P450/AllPages}}}} | ||
}} | }} | ||
| + | <br/> | ||
| + | |||
| + | {{P450/Table/Header| | ||
| + | {{#repeat:P450/Table/Row|1|{{{1}}}}} | ||
}} | }} | ||
| + | =Functions= | ||
| + | {{#lua: | ||
| + | for line in stdin:gmatch("P450/Function&&([^\n]+)") do | ||
| + | print("* " .. string.gsub(line, "&&", ", ")) | ||
| + | end | ||
| + | |{{#SearchLineReg:{{PAGENAME}}[^0-9]|Index|P450/Function}} | ||
| + | }} | ||
| + | |||
| + | =Links= | ||
| + | * CYPedia [http://www-ibmp.u-strasbg.fr/~CYPedia/index.html#{{PAGENAME}} {{PAGENAME}}] Functional Prediction (Cytochrome P450 Expression Database using Arabidopsis) by [http://ibmp.u-strasbg.fr/ IBMP Strasbourg]. | ||
Latest revision as of 17:27, 25 June 2009
[edit] Functions
[edit] Links
- CYPedia P450/Table Functional Prediction (Cytochrome P450 Expression Database using Arabidopsis) by IBMP Strasbourg.