Sandbox4

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
Line 14: Line 14:
 
}}
 
}}
  
===Family Distribution===
+
==Family Distribution==
 
{{#lua:
 
{{#lua:
 
   T = {}
 
   T = {}
Line 44: Line 44:
 
}}
 
}}
  
===Order Distribution===
+
==Order Distribution==
 
{{#lua:
 
{{#lua:
 
   T = {}
 
   T = {}
Line 71: Line 71:
 
| {{#repeat:Stats/Family/GetOrderName|1|{{#var:stat}} }}
 
| {{#repeat:Stats/Family/GetOrderName|1|{{#var:stat}} }}
 
}}
 
}}
 +
 +
==Details==
 +
{{#lua:
 +
  local T = {}
 +
  total = 0
 +
  for genus, id in stdin:gmatch("&&([%a]+) [-%a%. ]+&&([%a%d]+)") do
 +
    total = total + 1
 +
    if (T[genus] == null) then T[genus] = {"[["..id.."]]"} else table.insert(T[genus], "[["..id.."]]") end
 +
  end
 +
  for k,v in pairs(T) do
 +
    print(k.." "..table.concat(T[k], "; "))
 +
  end
 +
|{{#SearchLine:FL63|Reference}} }}

Revision as of 23:31, 10 December 2009


Family Distribution

Order Distribution

Details

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox